aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-02-24 00:05:29 +0100
committerKim Alvefur <zash@zash.se>2024-02-24 00:05:29 +0100
commit54f76b97d21b1198916cc354a6a5f7300c2eadc1 (patch)
tree89a9b9ceed9e84b4b09f24ce8d6f598b3e7b1a65 /core/sessionmanager.lua
parentc3af93fce713f8ddc36dc07ad58ccc9d39701836 (diff)
downloadprosody-54f76b97d21b1198916cc354a6a5f7300c2eadc1.tar.gz
prosody-54f76b97d21b1198916cc354a6a5f7300c2eadc1.zip
util.signal: Add support for signalfd(2) on Linux
signalfd allows handling signal events using the same method as sockets, via file descriptors. Thus all signal dispatch can go through the same main event loop as everything else, removing need for thread-scary signal handling where execution would just jump to the signal handler regardless of the state of Lua, and needing to keep track of Lua states/threads.
Diffstat (limited to 'core/sessionmanager.lua')
0 files changed, 0 insertions, 0 deletions