From: Eric Wong Date: 2015-07-17T19:44:09+00:00 Subject: [ruby-core:70014] Re: [Ruby trunk - Bug #11362] [Open] [PATCH] ensure Process.kill(:STOP, $$) is resumable And I forget we probably need to deal with SYSTEM_DEFAULT, too. Ugh. I almost favor my alternative patch to use sched_yield instead of overriding SIGCONT. My alternative patch would allow removing th->interrupt_cond entirely and just use select(0, NULL, NULL, NULL, NULL) to sleep infinitely for the SEGV/KILL/BUS cases.