Re: [MacRuby-devel] Questions about Threads

2009-04-17 Thread Laurent Sansonetti
Hi Alex, On Apr 17, 2009, at 8:27 PM, Alex Vollmer wrote: Hi folks, Could someone shed a little light on how threads work in MacRuby? For example, if I do this: Thread.new do 10.times do puts "Hi" sleep 2 end end Does this run as a NSThread instance? Also does the MacRuby runtime

[MacRuby-devel] Questions about Threads

2009-04-17 Thread Alex Vollmer
Hi folks, Could someone shed a little light on how threads work in MacRuby? For example, if I do this: Thread.new do 10.times do puts "Hi" sleep 2 end end Does this run as a NSThread instance? Also does the MacRuby runtime have the Global Interpreter Lock or are MacRuby threads