diff options
author | antirez <antirez@gmail.com> | 2015-11-30 12:05:59 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-11-30 12:05:59 +0100 |
commit | 077a196501e8e84cbfe5965c3bc99a173c680187 (patch) | |
tree | 5bb0c78d54a6bdcd63c8446b07b2f9cacd0b6e06 /src/bio.c | |
parent | 4f7d1e46cf267a1900d2abd8cf5df8f95f7f63d6 (diff) | |
download | redis-waitpid-fix.tar.gz |
Better SIGCHLD handling for #2897 debugging.waitpid-fix
Diffstat (limited to 'src/bio.c')
-rw-r--r-- | src/bio.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -152,6 +152,7 @@ void *bioProcessBackgroundJobs(void *arg) { * receive the watchdog signal. */ sigemptyset(&sigset); sigaddset(&sigset, SIGALRM); + sigaddset(&sigset, SIGCHLD); if (pthread_sigmask(SIG_BLOCK, &sigset, NULL)) redisLog(REDIS_WARNING, "Warning: can't mask SIGALRM in bio.c thread: %s", strerror(errno)); |