aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-04-20 21:09:57 +0200
committerFurkan Sahin <furkan-dev@proton.me>2025-04-20 21:09:57 +0200
commitc18559fda98989574856e4aa095b0875eda674b3 (patch)
treefcd23dd313e4623881f239cc89cd124dde52833c /meson.build
parent162c8dcfbca3f1c8a89deff40c8b0ce7fcaec7d1 (diff)
Use pthread_atfork() to restore signals and NOFILE limit
This ensures these functions are always called (even when a library such as wlroots or libc perform the fork) and removes the need to manually call them.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2d406dec..9e8e798e 100644
--- a/meson.build
+++ b/meson.build
@@ -79,7 +79,7 @@ libudev = wlroots_features['libinput_backend'] ? dependency('libudev') : null_de
math = cc.find_library('m')
rt = cc.find_library('rt')
xcb_icccm = wlroots_features['xwayland'] ? dependency('xcb-icccm') : null_dep
-threads = dependency('threads') # for pthread_setschedparam
+threads = dependency('threads') # for pthread_setschedparam and pthread_atfork
if get_option('sd-bus-provider') == 'auto'
if not get_option('tray').disabled()