aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-21 11:33:12 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-21 11:33:12 -0700
commit21a751d1536f5cc362959878972e106462e2984c (patch)
tree973fbe8e01def37ca6acf522e38348f1c38ad004 /proc.cpp
parent090f027de179f5bb92f07e5c947f3f273229d840 (diff)
Revert "Remove some previously buggy but dead code that I mistakenly resurrected"
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/proc.cpp b/proc.cpp
index 579c37cb..fb7ac2f2 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;
}
/**