diff options
author | Tom Deseyn <tom.deseyn@gmail.com> | 2019-01-15 21:43:08 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-15 12:43:08 -0800 |
commit | 3f0903598d0e269e6aaf8e237b47269abe4ab7e8 (patch) | |
tree | aff29f9a428caf4b1591987dff07fd146d15909b /src/pal/inc/pal.h | |
parent | 86b4ac59ef9d19e8f635086ea6a20a291c1dd26a (diff) | |
download | coreclr-3f0903598d0e269e6aaf8e237b47269abe4ab7e8.tar.gz coreclr-3f0903598d0e269e6aaf8e237b47269abe4ab7e8.tar.bz2 coreclr-3f0903598d0e269e6aaf8e237b47269abe4ab7e8.zip |
On SIGTERM default to a non-zero exit code (#21300)
* On SIGTERM default to a non-zero exit code
* Fix Windows builds
* Improve SIG_DFL/SIG_IGN handling
* Remove PAL_GetTerminationExitCode
* Use sa_handler/sa_sigaction based on SA_SIGINFO; remove HAVE_SIGINFO_T.
* configure.cmake: remove siginfo_t check
* Move restore_signal_and_resend so OSX can use it; add function documentation
* Fix OSX build: include pal/process.h for gPID
* Check SIG_IGN and SIG_DFL against sa_handler
* Don't use sa_handler when SA_SIGINFO is set
* Fix equality check
* Swap order of checking SA_SIGINFO and SIG_IGN/SIG_DFL
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r-- | src/pal/inc/pal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index d49cb13589..76e04cdbdb 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -5057,7 +5057,7 @@ public: typedef BOOL (*PHARDWARE_EXCEPTION_HANDLER)(PAL_SEHException* ex); typedef BOOL (*PHARDWARE_EXCEPTION_SAFETY_CHECK_FUNCTION)(PCONTEXT contextRecord, PEXCEPTION_RECORD exceptionRecord); -typedef VOID (*PTERMINATION_REQUEST_HANDLER)(); +typedef VOID (*PTERMINATION_REQUEST_HANDLER)(int terminationExitCode); typedef DWORD (*PGET_GCMARKER_EXCEPTION_CODE)(LPVOID ip); PALIMPORT |