From: Lorien Dunn Date: 2002-09-14T08:21:25+09:00 Subject: Re: Why can't ruby be used from a (native) thread other than the main one? Oops, I made it to the page. I don't know what was going wrong. From Nobu's reply: >Now 1.7 deals with non-blocking IO, so WSAEventSelect() and >MsgWaitForMultipleObjects() solution may be acceptable. I don't know about WSAEventSelect(), but MsgWaitForMultipleObjects() is the equivalent of the select() call on unix. However as far as I can tell it doesn't work on pipes! One possible solution could be to use sockets instead of pipes, because micro$oft just ripped the bsd sockets code and put it in windoze. As a result, sockets are the only type that support the unix select() call. However i doubt ruby exploits this "feature" of windoze. -- On Sat, 14 Sep 2002 08:09:35 +0900 Lorien Dunn wrote: > Thanks Laurent, > however I can't access that page. I just get : > > Ruby Bug Tracking System > Ruby Search > The system encountered a fatal error > can't get info in view_message > > And I can't find msg id 401 :(. Could you perhaps forward me the work around suggested by nobu? > And FreeRIDE looks as though it is going to be very cool. > > > Thanks, > Lorien Dunn >