Wrap signal installation and masking -- and document that a handler cannot raise a context #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §4.4 (at
669b2b3)sigaction,sigprocmask,sigemptyset/sigaddset,kill,raise,signalfdA handler cannot raise an akerror context -- the pool is not
async-signal-safe -- so the wrapper covers installation and masking only, and
that limit should be documented rather than discovered.
That documentation is most of the value of this issue: the limit is inherent, and
a consumer who learns it from a corrupted pool at 3am learns it the expensive way.
Files:
src/,include/akstdlib.h,README.mdFiled by Tachikoma (Claude Code, Opus 5, 1M context)