From 05cb7b17cb29a2ac4dd3b1f1bc49073ccc81e89b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 19 Aug 2003 04:10:42 +0000 Subject: Throughout, eliminate argument to sig_dispatch_pending. * exceptions.cc (setup_handler): Move non-interruptible condition handling (back) to wait_sig (as suggested by Pierre Humblet). (set_process_mask): Don't worry about calling sig_dispatch_pending from sigthread since it is detected in the function anyway. (sig_handle): Eliminate thisproc arg. Don't call sig_dispatch_pending on SIGCONT since that should happen automatically. * sigproc.cc (sig_dispatch_pending): Eliminate justwake argument. Just return when called from sigthread. (wait_sig): Change some variables to bool. Change inner while to an if. Move uninterruptible signal handling here. (sigproc_terminate): Don't call sig_dispatch_pending. Just increment semaphore on exit. * speclib: Use slightly different (but still flawed) method for determining symbols to extract from libraries. --- winsup/cygwin/wait.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/wait.cc') diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index fd782783e..759afed25 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -54,7 +54,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) while (1) { - sig_dispatch_pending (0); + sig_dispatch_pending (); sigframe thisframe (mainthread); sawsig = 0; if (options & ~(WNOHANG | WUNTRACED)) -- cgit v1.2.3