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
Under Windows signal()
support only a subset of signals
sig value
Description
SIGABRT
Abnormal termination
SIGFPE
Floating-point error
SIGILL
Illegal instruction
SIGINT
CTRL+C signal
SIGSEGV
Illegal storage access
SIGTERM
Termination request
but wait ...
SIGINT is not supported for any Win32 application. When a CTRL+C interrupt occurs,
Win32 operating systems generate a new thread to specifically handle that interrupt.
This can cause a single-thread application, such as one in UNIX, to become
multithreaded and cause unexpected behavior.
The system also displays the dialog box if the process does not respond
within a certain time-out period (5 seconds for CTRL_CLOSE_EVENT,
and 20 seconds for CTRL_LOGOFF_EVENT and CTRL_SHUTDOWN_EVENT).
we need to be able to manage those signals in a cross-platform way
SIGABRT - abort
SIGALRM - alarm
SIGHUP - Hangup
SIGINT - interrupt
SIGKILL - kill
SIGTERM - terminate
The text was updated successfully, but these errors were encountered: