From 333879e77b16f6cf2658c5c85a6da1b50ae65a9f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 31 Mar 2003 21:27:06 +0000 Subject: * exceptions.cc (setup_handler): Make sure winapi lock is released when exiting loop. --- winsup/cygwin/exceptions.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/exceptions.cc') 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; } -- cgit v1.2.3