diff options
author | Matthew Wild <mwild1@gmail.com> | 2024-11-21 17:02:07 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2024-11-21 17:02:07 +0000 |
commit | 6bbfcd801a6f5b9aa1150fe583b3c9db2c8a2cfc (patch) | |
tree | 2130cb87c282c8efa532bbe4ba050b79bab8cf0b /util-src/struct.c | |
parent | a3b71e8fc944f65861f2d0123bf0c6497e61b31c (diff) | |
download | prosody-6bbfcd801a6f5b9aa1150fe583b3c9db2c8a2cfc.tar.gz prosody-6bbfcd801a6f5b9aa1150fe583b3c9db2c8a2cfc.zip |
mod_c2s, mod_s2s: Support for queuing callbacks to run in session thread
This allows certain session-specific code that needs to run in the async
context, but is itself triggered outside of that context (e.g. timers), to
be queued.
An example of this is the session destruction code of mod_smacks, when the
hibernation timeout is reached.
Diffstat (limited to 'util-src/struct.c')
0 files changed, 0 insertions, 0 deletions