* 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

@ -744,6 +744,8 @@ _cygtls::interrupt_setup (int sig, void *handler, struct sigaction& siga)
deltamask = siga.sa_mask & ~SIG_NONMASKABLE;
sa_flags = siga.sa_flags;
func = (void (*) (int)) handler;
if (siga.sa_flags & SA_RESETHAND)
siga.sa_handler = SIG_DFL;
saved_errno = -1; // Flag: no errno to save
if (handler == sig_handle_tty_stop)
{