From: Peter Zotov Date: 2012-08-29T05:00:20+09:00 Subject: Re: force child threads run paralelly? Robert Klemme писал 28.08.2012 21:31: > On Tue, Aug 28, 2012 at 6:11 PM, Andriy Andreyev > wrote: >> Sorry for jumping in, but Tony, can you please explain what the idea >> is >> behind having Threads implemented and not allowing them to be >> executed in >> parallel? Thanks in advance. > > Also, this approach allows to have multithreading on a platform which > does not support threads out of the box. Granted, these are rare > nowadays - that was more important in the early days. It does not, at least not by itself. Ruby 1.9 requires a proper pthreads implementation, which means that you must provide a scheduler anyway. Ruby 1.8 had green threads, which did work on threadless platforms, but having green threads doesn't require one to abandon multicore support. For example, Erlang has both. -- WBR, Peter Zotov.