From: Shashank Date Date: 2004-02-18T10:34:54+09:00 Subject: Re: Blocking Calls on Win32 Ruby "Bret Pettichord" wrote in message > Apparently, certain blocking calls block all threads rather than just their > own thread. This is apparently the consequent of the use of pthreads. Yes, for example calls to gets in a thread will block all other threads. But I don't think this has anything to do with pthreads. (See lines 8006 onwards of eval.c) > My next step is to try the same code with cygwin ruby or linux ruby. (I > don't have a mac). I understand that both of these use better-behaved threads. At least the gets problem goes away on Cygwin. > Have i misunderstood something terribly? Not really ... if you could show the code we can talk about the specifics. HTH, -- shanko