From: Brent Roman Date: 2008-02-10T08:55:25+09:00 Subject: Re: Non-local exits via throw/rescue: Re: Timeout::Error MenTaLguY, I specified something along the lines of Thread.interrupt for Ruby around Christmas last year. It's a long thread. My proposal starts here: ruby-core:14301 I intend to implement this for 1.8.6 and 1.6.8 (yes, we still use it :-). I'd be interested in hearing what you think of it. Would this be analogous to Java's "Thread.interrupt" mechanism? Would it be able to remove the races inherent in Ruby's Thread.raise? - brent MenTaLguY wrote: > > I just think we need something more along > the lines of Java's Thread.interrupt (which can inject asynchronous > exceptions only at well-defined points) instead of Thread#raise. > > > -- View this message in context: http://www.nabble.com/Timeout%3A%3AError-tp15291110p15391683.html Sent from the ruby-core mailing list archive at Nabble.com.