diff options
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 5acbe558d..742aa68b0 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -836,6 +836,7 @@ setup_handler (int sig, void *handler, struct sigaction& siga) /* Just set pending if thread is already suspended */ if (res) { + mainthread.release_winapi_lock (); (void) ResumeThread (hth); break; } |