From: Tanaka Akira Date: 2008-03-25T19:18:03+09:00 Subject: Re: Thread#raise, Thread#kill, and timeout.rb are unsafe In article <7f2500ea06b9d4ae2a8ac86ebf513d10@localhost>, MenTaLguY writes: > This seems sensible to me, though it would be nice to also have > an alternate way to handle POSIX signals that didn't involve > interruption. Thread.delay_interrupt(klass) { ... } is intended for that. Hm. It may need to take "SIGTERM", etc. because Ruby has no exception class corresponding to single signal, SIGTERM, etc. -- Tanaka Akira