From: Roger Pack Date: 2007-08-29T04:40:25+09:00 Subject: Re: socket 10s hangs Mental Guy wrote: > On Wed, 29 Aug 2007 03:33:04 +0900, Joel VanderWerf >> It's just one of those gotchas that keeps coming up. A similar one is >> >> Thread.abort_on_exception = true >> >> (otherwise threads die silently on unhandled exceptions). > > You don't always want to do that, since you can recover the unhandled > exception that terminated a thread via Thread#join or Thread#value > and some libraries rely on this. Interesting. I suppose I've never run into that. It helped me debug things, mostly, and seemed useful, though I suppose handling exceptions on join or checking value is another option. Thanks. -Roger > > -mental -- Posted via http://www.ruby-forum.com/.