From: Eric Wong Date: 2017-12-23T08:03:30+00:00 Subject: [ruby-core:84416] Re: [Ruby trunk Misc#14222] Mutex.lock is not safe inside signal handler: what is? 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: