summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index b18c61f24..380697eb0 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -568,6 +568,7 @@ stack (void)
int __stdcall
handle_sigsuspend (sigset_t tempmask)
{
+ sig_dispatch_pending (0);
sigframe thisframe (mainthread);
sigset_t oldmask = myself->getsigmask (); // Remember for restoration