* exceptions.cc (setup_handler): Make sure winapi lock is released when exiting

loop.
This commit is contained in:
Christopher Faylor 2003-03-31 21:27:06 +00:00
parent ce5435df0b
commit 333879e77b
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-03-31 Christopher Faylor <cgf@redhat.com>
* exceptions.cc (setup_handler): Make sure winapi lock is released when
exiting loop.
2003-03-30 Christopher Faylor <cgf@redhat.com>
* include/cygwin/fs.h: Remove unneeded include.

View File

@ -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;
}