From 21a751d1536f5cc362959878972e106462e2984c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 21 Oct 2014 11:33:12 -0700 Subject: [PATCH] Revert "Remove some previously buggy but dead code that I mistakenly resurrected" This reverts commit 090f027de179f5bb92f07e5c947f3f273229d840. --- proc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proc.cpp b/proc.cpp index 579c37cbb..fb7ac2f26 100644 --- a/proc.cpp +++ b/proc.cpp @@ -646,6 +646,11 @@ void job_handle_signal(int signal, siginfo_t *info, void *con) /* This is the only place that this generation count is modified. It's OK if it overflows. */ s_sigchld_generation_count += 1; got_signal = 1; + + /* pca: I can't justify this kill() call */ + int errno_old = errno; + kill(0, SIGIO); + errno=errno_old; } /**