Diff

net/server_epoll.lua @ 13450:f36e1e1b84fe

net.server_epoll: Log creation of signalfd handles at noise level To aid in tracking down signalfd-related problems
author Kim Alvefur <zash@zash.se>
date Fri, 01 Mar 2024 19:20:45 +0100
parent 13447:5c9df28a57bb
child 13490:6f840763fc73
line wrap: on
line diff
--- a/net/server_epoll.lua	Fri Mar 01 17:22:29 2024 +0000
+++ b/net/server_epoll.lua	Fri Mar 01 19:20:45 2024 +0100
@@ -1159,6 +1159,7 @@
 		local watch = watchfd(sigfd, dispatch);
 		watch.listeners = { onsignal = cb };
 		watch.close = nil; -- revert to default
+		watch:noise("Signal handler %d ready", signum);
 		return watch;
 	end
 end