summaryrefslogtreecommitdiff
path: root/test%2525252525253fid%2525252525253de3cfca7568c0481e30807a41a280752522af2838%...
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-07-14 09:07:00 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-07-26 10:31:28 -0400
commitf743eab5ac96314044fe748f0f1875a1ee78d3a9 (patch)
treeade004dff23390840584fb768fca536fcc6f056c /test%2525252525253fid%2525252525253de3cfca7568c0481e30807a41a280752522af2838%25252525253fid%25252525253d7b28e38d1307aa6c7bf4350b314dff1dc42b9731%252525253fid%252525253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%2525253fid%2525253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%25253fid%25253d7b8b7f0548c2f71a1a068419f5712e2d7026485f&id2%25253d2230525f4a14ae9e8a5e7a76ae205101904a7f7f%253fid%253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%3fid%3d2230525f4a14ae9e8a5e7a76ae205101904a7f7f?id=f743eab5ac96314044fe748f0f1875a1ee78d3a9
parent41e1a89aa73877d3477595b7425ac7c2ab65a573 (diff)
Remove SIGCHLD signal handler
The purpose is to make child_wait() reliable. The handler is meant for the notify main thread, but signal handlers are shared by all threads. In the calcurse main thread and the periodic save thread (hooks) the handler and child_wait() will compete (if the signal handler kicks in first, the waitpid() call in child_wait() will fail with errno ECHILD). All child processes in the main thread, the notify thread, the periodic save thread and the notify demon are explicitly waited for. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test%2525252525253fid%2525252525253de3cfca7568c0481e30807a41a280752522af2838%25252525253fid%25252525253d7b28e38d1307aa6c7bf4350b314dff1dc42b9731%252525253fid%252525253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%2525253fid%2525253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%25253fid%25253d7b8b7f0548c2f71a1a068419f5712e2d7026485f&id2%25253d2230525f4a14ae9e8a5e7a76ae205101904a7f7f%253fid%253d7b8b7f0548c2f71a1a068419f5712e2d7026485f%3fid%3d2230525f4a14ae9e8a5e7a76ae205101904a7f7f?id=f743eab5ac96314044fe748f0f1875a1ee78d3a9')
0 files changed, 0 insertions, 0 deletions