From: Minkoo Seo Date: 2006-07-11T15:30:00+09:00 Subject: Re: Platform Independence Programming ------=_Part_110271_11874620.1152599396093 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline What about priority of a Thread? Number of priorities vary from OS to OS, and it is said that priorities map to different prority levels depending on OS even if threads are green. How is Ruby's implementaion in this regard? Sincerely, Minkoo Seo On 7/11/06, Dido Sevilla wrote: > > On 7/11/06, Minkoo Seo wrote: > > Thanks Patrick. > > > > I got one more question. The list you've shown doesn't contain > threading. > > Is threading platform independent? > > Current versions of Ruby work like what Java people call 'green' > threads, rather than using native threads; they'll work even if you're > running under one of those platforms that doesn't have support for > threading at all. There is code in the Ruby interpreter that simulates > a multithreaded environment without relying on any platform-specific > threading support. > > ------=_Part_110271_11874620.1152599396093--