[ruby-core:70014] Re: [Ruby trunk - Bug #11362] [Open] [PATCH] ensure Process.kill(:STOP, $$) is resumable

From: Eric Wong <normalperson@...>
Date: 2015-07-17 19:44:09 UTC
List: ruby-core #70014
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.

In This Thread

Prev Next