From: Aaron Turner Date: 2008-03-04T02:04:33+09:00 Subject: Re: Sleeping threads don't wake up? On Sun, Mar 2, 2008 at 7:12 PM, Ilan Berci wrote: > Aaron Turner wrote: > > On Thu, Feb 28, 2008 at 8:48 PM, Arlen Cuss wrote: > >> >> puts "looping" > > >> => #> > >> > > >> Arlen > >> > > > > Hmm... no, it's not output buffering. What OS/ruby ver are you on? > > I'm on Linux/1.8.6. > > Before you check the OS, take a look at the code, your version is > calling: > self.clean_workers while Arlens is printing to the screen... > > The first place I would look is clean_workers() and ask yourself if it's > logging, throwing, stuck, interrupted, etc.. > > rdebug would then be your second place to visit Thanks Ilan. That's exactly what was going on. I thought I was rescuing all errors, but uh, yeah... :) -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin