* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
* include/cygwin/signal.h: Define SA_ONESHOT and SA_NOMASK. * dcrt0.cc (get_cygwin_startup_info): Remove commented out code.
This commit is contained in:
@ -179,6 +179,8 @@ struct sigaction
|
||||
#define SA_NODEFER 0x40000000 /* Don't automatically block the signal
|
||||
when its handler is being executed */
|
||||
#define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler */
|
||||
#define SA_ONESHOT SA_RESETHAND /* Historical linux name */
|
||||
#define SA_NOMASK SA_NODEFER /* Historical linux name */
|
||||
|
||||
#define SIGHUP 1 /* hangup */
|
||||
#define SIGINT 2 /* interrupt */
|
||||
|
Reference in New Issue
Block a user