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 basically NSThreads?

Thanks!

--Alex V.

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





_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to