From: gabriele renzi Date: 2004-07-06T23:07:38+09:00 Subject: Re: Windows - Socket - Connect - Nonblocking il Tue, 6 Jul 2004 21:50:40 +0900, "Jean-Francois Nadeau" ha scritto:: >I decided to investigate the problem by looking at the ruby source code. I >saw that because the thread scheduler works with "select()", there should >not be any blocking in multi-threaded socket IO. select() on windows is just able to handle FD representing sockets, baed on things I heard here.. But for thos it should work.. :/ Bad things happen when you mix standard IO and socket stuff, which I believe is, well, everytime. Pathc would be much appreciated, I think. >So, I was wondering if this was a known problem. I have modified the ruby >code to fix that problem but I don't know if my patch is 100% safe. Where >should I send my patch and how? > >My patch definitely improves the performance of my code. try here or on the ruby-core mailing list. OTOH, ou may just try your patched interpreter against the standard test suite, as a first try.