diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-11 13:49:55 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-07-27 14:32:16 +0200 |
commit | 2593270498be82de82f770cb3744d9e5f8d0b0bd (patch) | |
tree | fb6cf7d52f641e35316b4db39a1a424927d77ba5 /tests/custom/99_bugs | |
parent | 97a5292307bebc4c3be45f47743268084b376d09 (diff) |
uloop: interrupt on VM signals
When the VM instance loading the uloop module has signal dispatching
enabled, implicitly register the signal pipe as file descriptor in the
global uloop and dispatch received signals to the VM instance.
This ensures that the respective managed ucode signal handlers are
invoked immediately and not just after `uloop_run()` returns.
Also end the uloop in case any invoked signal handler threw an
exception, to match the expected behaviour with other kinds of
callbacks.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/99_bugs')
0 files changed, 0 insertions, 0 deletions