From: nobu.nokada@... Date: 2003-09-24T14:58:16+09:00 Subject: Re: Thread safety: Serializing access to ruby interpreter- again Hi, At Fri, 19 Sep 2003 17:37:09 +0900, Thomas Sondergaard wrote: > > Using a pipe (or any IO) as the trigger which wakes Monitor up. > > That doesn't work. Blocking on a pipe (or any IO) in Windows blocks the > entire ruby process. This sample will just block and get no where in Windows > after writing "hello from main" once, while in Linux it happily prints > "hello from main" once a second. Socket might work. > Out of curiousity, why does this happen on Windows? Is it not fixable? Because winsock's select() supports only socket handles. -- Nobu Nakada