mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
DEVEL15-windows-procmgmt-20070130
Do not raise an exception if SIGQUIT is received prior to the
registration of the Shutdown handler
(cherry picked from commit b02c32b069
)
This commit is contained in:
parent
9297cac918
commit
70f46fcadc
@ -141,13 +141,11 @@ DefaultActionHandler(int signo)
|
|||||||
case SIGHUP:
|
case SIGHUP:
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
case SIGKILL:
|
case SIGKILL:
|
||||||
|
case SIGQUIT:
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
case SIGUSR1:
|
|
||||||
case SIGUSR2:
|
|
||||||
/* default action is "exit" */
|
/* default action is "exit" */
|
||||||
ExitProcess(PMGT_SIGSTATUS_ENCODE(signo));
|
ExitProcess(PMGT_SIGSTATUS_ENCODE(signo));
|
||||||
break;
|
break;
|
||||||
case SIGQUIT:
|
|
||||||
case SIGILL:
|
case SIGILL:
|
||||||
case SIGABRT:
|
case SIGABRT:
|
||||||
case SIGFPE:
|
case SIGFPE:
|
||||||
@ -161,6 +159,8 @@ DefaultActionHandler(int signo)
|
|||||||
RaiseException((DWORD) PMGT_SIGSTATUS_ENCODE(signo),
|
RaiseException((DWORD) PMGT_SIGSTATUS_ENCODE(signo),
|
||||||
EXCEPTION_NONCONTINUABLE, 0, NULL);
|
EXCEPTION_NONCONTINUABLE, 0, NULL);
|
||||||
break;
|
break;
|
||||||
|
case SIGUSR1:
|
||||||
|
case SIGUSR2:
|
||||||
case SIGCHLD:
|
case SIGCHLD:
|
||||||
/* default action is "ignore" */
|
/* default action is "ignore" */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user