Skip to content

Commit c484ca3

Browse files
committed
src: comment guarded use of SA_ONSTACK | SA_SIGINFO
Signed-off-by: Gaby Baghdadi <baghdadi@ca.ibm.com>
1 parent 0ddf4e3 commit c484ca3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/node.cc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,8 @@ void RegisterSignalHandler(int signal,
495495
sa.sa_sigaction = handler;
496496
sa.sa_flags = reset_handler ? SA_RESETHAND : 0;
497497
#ifdef __MVS__
498+
// ON_STACK: to use alt stack (created in zosStart()) to not interfere
499+
// with z/OS LE; SA_SIGINFO: to use handler specified by sa_sigaction.
498500
sa.sa_flags |= SA_ONSTACK | SA_SIGINFO;
499501
#endif
500502
sigfillset(&sa.sa_mask);

0 commit comments

Comments
 (0)