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

Commit ffeb6bf

Browse files
committed
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>
1 parent 94eb9a3 commit ffeb6bf

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)