From: Gordon Thiesfeld Date: 2008-07-10T21:16:52+09:00 Subject: Re: Threads: Different behavior under Linux and Windows On Wed, Jul 9, 2008 at 5:07 PM, Luis Lavena wrote: > > Hey Dan, can you confirm if that patches make Drb tests stall or pass? > similar change introduced in 1.8 (but reverted due this) stall at > least for GCC. > > Maybe we can give another shot at this and merge into 1.8 again. > > Thank you, > -- > Luis Lavena > > Also, a recently added spec in Rubyspec is hanging when using threads. The code that hangs is in 1.8\library\socket\tcpsocket\shared\new.rb. This is the failing example: http://pastie.org/231434 If you run: >mspec 1.8/library/socket/tcpsocket You should see it hang. The offending code is run once for tcpsocket/new_spec.rb and once for tcpsocket/open_spec.rb. If you run either file individually, no problems. Do you think this is the same problem? I've tested on these version: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] ruby 1.8.6 (2008-03-03 patchlevel 114) [i386-mingw32] ruby 1.8.6 (2008-07-03 patchlevel 265) [i386-mingw32] Thanks, Gordon Thiesfeld