aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-21 18:15:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-21 18:15:10 +0000
commitf49742ebba769e5024f178428d6e7ad048f18e77 (patch)
treee39c97768fb208bfbc4d818b9ad1231f2f4cd7d3 /meson.build
parentreadme: mention that gcc produces a much faster binary than clang (diff)
reaper: new module, uses a signalfd to wait() on child processes
Use a signalfd to listen for SIGCHLD signals. When we receive a SIGCHLD over the signalfd, reap all dead children by looping over all registered child PIDs and call waitpid(WNOHANG) on them.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 24a77c0a..46d00961 100644
--- a/meson.build
+++ b/meson.build
@@ -114,6 +114,7 @@ executable(
'misc.c', 'misc.h',
'osc.c', 'osc.h',
'quirks.c', 'quirks.h',
+ 'reaper.c', 'reaper.h',
'render.c', 'render.h',
'search.c', 'search.h',
'selection.c', 'selection.h',