From: Ashley Moran Date: 2006-05-10T04:45:34+09:00 Subject: Re: What's the difference between a Thread and a Process? 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