doc: note that default signal handling resets the signal mask · nodejs/node@67cb305 · GitHub
Skip to content

Commit 67cb305

Browse files
codebytereaduh95
authored andcommitted
doc: note that default signal handling resets the signal mask
`InitializeOncePerProcess()` without `kNoDefaultSignalHandling` calls `pthread_sigmask(SIG_SETMASK, ...)` with a set containing only SIGUSR1, which unblocks every signal the embedder had blocked on the calling thread. Say so in the flag's documentation. Refs: #44121 Signed-off-by: Shelley Vohr <shelley.vohr@gmail.com> PR-URL: #65877 Refs: #25777 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent fe61478 commit 67cb305

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/node.h‎

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)