You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aa6b9a3
Browse filesBrowse the repository at this point in the historyBrowse files
Implements a global UnixSignalMaskRegistry that tracks how many Signal
instances are active for each signal type (SIGINT/SIGTERM). Signal
masking now only happens when the first instance is created, and
unmasking only happens when the last instance is destroyed.
This ensures that:
- Multiple Signal instances for the same type don't redundantly mask
- The process signal mask is properly restored on cleanup
- No signals remain permanently blocked after deinit
The registry uses a mutex-protected refcount array and integrates with
both LinuxImpl (signalfd) and KqueueImpl (EVFILT_SIGNAL).
Co-authored-by: Lukáš Lalinský <[email protected]>
0 commit comments