Comparison

plugins/mod_mam/mod_mam.lua @ 13439:1e229d710a3c

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.
author Kim Alvefur <zash@zash.se>
date Sat, 24 Feb 2024 00:05:29 +0100
parent 13357:f424c9f1460b
child 13789:1a8e47d42264
comparison
equal deleted inserted replaced
13438:0a0dd2505baa 13439:1e229d710a3c