On May 09, 2006, at 8:41 pm, Logan Capaldo wrote:

>
> On May 9, 2006, at 3:28 PM, Dave Howell wrote:
>
>> They seem similar, but by no means identical. My guess is that  
>> Ruby Threads are parallel execution paths within a single OS-level  
>> 'task,' but a Process is handed to the OS to be run as an  
>> independent task at the OS level?
>>
>>
>
> Yes, but threads can also be implemented at the OS level. (Ruby's  
> threads currently are not).
>
>


The JRuby project maps Ruby threads to Java threads, and I think they  
in turn get mapped to system threads.  So JRuby probably has a better  
threading model than normal Ruby!  (Still waiting to see what Matz  
turns out for the Ruby VM)

Ashley