* 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:
Christopher Faylor
2006-01-01 16:51:29 +00:00
parent a89b700926
commit a14d65557a
4 changed files with 11 additions and 7 deletions

View File

@ -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 */