nobu / ruby-lang.org wrote:
> `Thread.handle_interrupt` doesn't work.

Oops, the main thread may already have a Mutex locked, right?

> You can use `Queue` inside trap context.

Since 2.1 when Queue was reimplemented in C.  Old (pure-Ruby)
Queue used Mutex, but I guess those versions are no longer
supported (and I still have old crap on 1.9.3 :<)

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>