* exceptions.cc (_cygtls::call_signal_handler): Fix debugging to not go to

console.
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Add temporary kludge
to work around problem of make closing a handler while it is being read.
* gendef (sigdelayed): Don't call a function if sig has been cleared.
* sigproc.h (cygwait): Simplify slightly.
This commit is contained in:
Christopher Faylor
2011-12-16 05:27:15 +00:00
parent e553b822e2
commit 08e4b6acb7
5 changed files with 38 additions and 20 deletions

View File

@@ -221,6 +221,10 @@ _sigdelayed:
call _yield
jmp 1b
2: incl $tls::incyg(%ebx)
movl $tls::sig(%ebx),%eax
testl %eax,%eax
jz 4f # call_signal_handler may have beat us
# to it
pushl $tls::saved_errno(%ebx) # saved errno
call _set_process_mask_delta
pushl %eax