From: Robert Klemme Date: 2011-02-11T21:06:47+09:00 Subject: Re: What should TCPSocket#close do to a blocked #readline? On Fri, Feb 11, 2011 at 1:01 PM, Alex Young wrote: > Alex Young wrote in post #980861: >> Robert Klemme wrote in post #980828: >>> On Thu, Feb 10, 2011 at 12:59 PM, Alex Young >>> wrote: >>>> >>>> sleep(0.1) while client_thread.status == "run" >>>> successfully. On 1.9.2-p136, it hangs at q.pop. >>> I cannot confirm this: >>> >>> 15:40:10 Temp$ ruby19 -v >>> ruby 1.9.2p136 (2010-12-25 revision 30365) [i386-cygwin] >> >> $ ruby -v >> ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux] >> > > Ok, so this also fails on i686-linux. Now, where's the bug? :-) Maybe the network stack behaves different on these different platforms. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/