El Miércoles, 2 de Julio de 2008, Charles Oliver Nutter escribió: > Robert Klemme wrote: > > On 02.07.2008 18:29, barjunk wrote: > >> 4 - Native threads are used in Jruby, and in Ruby 1.9 YARV > > > > JRuby yes. I am not sure about 1.9 - I believe native threads are not > > yet completely supported there. > > Ruby 1.9's threads are native, but they are not allowed to run in > parallel because most of the core structures in Ruby are not thread-safe > (as in kernel-level thread safe). AFAIK one of the advantages of green threads is that they are a bit faster. What is the purpose of native threads in Ruby 1.9 if they cannot run in parallel? -- Iñaki Baz Castillo