diff options
author | Kim Alvefur <zash@zash.se> | 2024-02-24 00:05:29 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-02-24 00:05:29 +0100 |
commit | 54f76b97d21b1198916cc354a6a5f7300c2eadc1 (patch) | |
tree | 89a9b9ceed9e84b4b09f24ce8d6f598b3e7b1a65 /teal-src/prosody/util/termcolours.d.tl | |
parent | c3af93fce713f8ddc36dc07ad58ccc9d39701836 (diff) | |
download | prosody-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 'teal-src/prosody/util/termcolours.d.tl')
0 files changed, 0 insertions, 0 deletions