* exceptions.cc (setup_handler): Make sure winapi lock is released when exiting
loop.
This commit is contained in:
parent
ce5435df0b
commit
333879e77b
@ -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>
|
2003-03-30 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* include/cygwin/fs.h: Remove unneeded include.
|
* include/cygwin/fs.h: Remove unneeded include.
|
||||||
|
@ -836,6 +836,7 @@ setup_handler (int sig, void *handler, struct sigaction& siga)
|
|||||||
/* Just set pending if thread is already suspended */
|
/* Just set pending if thread is already suspended */
|
||||||
if (res)
|
if (res)
|
||||||
{
|
{
|
||||||
|
mainthread.release_winapi_lock ();
|
||||||
(void) ResumeThread (hth);
|
(void) ResumeThread (hth);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user