OSDN Git Service

* exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving
authorcgf <cgf>
Wed, 25 Oct 2000 17:57:43 +0000 (17:57 +0000)
committercgf <cgf>
Wed, 25 Oct 2000 17:57:43 +0000 (17:57 +0000)
a SIGCONT.  Don't block waiting for completion that will never occur.

winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc

index 5d00f4b..fc84f3a 100644 (file)
@@ -1,3 +1,9 @@
+Wed Oct 25 13:56:39 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * exceptions.cc (sig_handle): Just make sure that wait_sig loops when
+       receiving a SIGCONT.  Don't block waiting for completion that will
+       never occur.
+
 Wed Oct 25 09:59:14 2000  Christopher Faylor <cgf@cygnus.com>
 
        * dtable.cc (dtable::fixup_after_exec): Use variable rather than
index 38879ee..d9ce5b5 100644 (file)
@@ -947,7 +947,7 @@ sig_handle (int sig)
       while (ResumeThread (hMainThread) > 1)
        ;
       /* process pending signals */
-      sig_dispatch_pending ();
+      sig_dispatch_pending (1);
     }
 
 #if 0