From: Eric Wong Date: 2017-12-15T08:08:23+00:00 Subject: [ruby-core:84281] Re: [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD nobu@ruby-lang.org wrote: > normalperson (Eric Wong) wrote: > > I guess the sleep_wait_for_interrupt path when !forever has the > > same problem and might sleep too long.. > > How about this patch? That might be correct, but I don't like making the sleep_* functions too complex and probably prefer them open-coded like you did in r61274. My mind already has trouble understanding the logic from spurious_check/deadlockable on existing implementations :x Unsubscribe: