From: Eric Wong Date: 2017-12-17T08:29:45+00:00 Subject: [ruby-core:84309] Re: [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD nobu@ruby-lang.org wrote: > LGTM, and `timeval_add()` and `timeval_update_expire()` seem > to worth extracting first. Thanks for the review and you're right; they're not needed in the final patch to fix the problem, I did not need to do timeval arithmetic in thread_join_sleep after all. Anyways, I split them into r61301 and r61302. For 2.6; maybe we consider moving everything to timespec and avoiding double/timeval for internal APIs Unsubscribe: