From: paul.rogers@... (Paul) Date: 2004-02-18T01:45:01+09:00 Subject: Re: Blocking Calls on Win32 Ruby Bret - I had the same issues on Windows. I was trying to use the serial port with an FXRuby gui. I ended up having the serial driver in a seperate ruby script, talking to the main app with drb Bret Pettichord wrote in message news:<5.1.0.14.2.20040216235853.038bacd0@127.0.0.1>... > I am running into several problems with some Ruby code. It was written on a > Mac and i am trying to get it to run on my Windows box. I am using the > Win32 Ruby 1.6.8. I've done some reading around and it seems that the > problems i am seeing are caused by something i read about. > > Apparently, certain blocking calls block all threads rather than just their > own thread. This is apparently the consequent of the use of pthreads. > > 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. > > Am i on track here? Have i misunderstood something terribly? Are there > plans to change this with 1.8 or later? > > Bret > > _____________________________________ > Bret Pettichord, Software Tester > Book - www.testinglessons.com > Consulting - www.pettichord.com > Blog - www.io.com/~wazmo/blog > Hotlist - www.testinghotlist.com