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 4921e8f
Browse filesBrowse the repository at this point in the historyBrowse files
src: update signal handling and inspector support for z/OS
Address review comments:
- Add comments explaining why the z/OS-specific code is needed:
the SIGABRT handler (see zosSignalExit()) and the --nohard_abort V8
flag.
- Remove the copyright headers from the new node_zos.{h,cc} and
zos_setlibpath.cc files.
Other changes:
- Create the z/OS signal handler thread after blocking all signals on
the main thread, so it starts with every signal blocked. It installs
its own alternate signal stack before unblocking them, so no signal
can be delivered on a thread without one.
- Remove zosIgnorePipeChildSignals(). All signals are blocked on the
main thread, and SIGPIPE is already ignored by ResetSignalHandlers().
- Zero-initialize the struct sigaction in zosSignalExit().
- Check the result of sigaltstack() and report alternate stack setup
failures in zosStart().
- Check pthread_cancel() for any non-zero return, not just -1.
- Do not append directories to LIBPATH if already present.
- Handle SIGUSR1 for the inspector on z/OS, where the main thread blocks
all signals.
- Call RegisterProduct() from zosStart() so that Node.js is registered
for Tailored Fit Pricing.
Assisted-by: IBM Bob
Signed-off-by: Gaby Baghdadi <baghdadi@ca.ibm.com>
0 commit comments