[MacRuby-devel] Questions about Threads

Alex Vollmer alex.vollmer at gmail.com
Fri Apr 17 20:27:05 PDT 2009

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

Does this run as a NSThread instance? Also does the MacRuby runtime  
have the Global Interpreter Lock or are MacRuby threads basically  


--Alex V.

Musings & Notes — http://alexvollmer.com
Track what you lend and borrow — http://moochbot.com

More information about the MacRuby-devel mailing list