OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebeef4
)
* exceptions.cc (setup_handler): Make sure winapi lock is released when exiting
author
cgf
<cgf>
Mon, 31 Mar 2003 21:27:06 +0000
(21:27 +0000)
committer
cgf
<cgf>
Mon, 31 Mar 2003 21:27:06 +0000
(21:27 +0000)
loop.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/exceptions.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
41243c0
..
cacbfa1
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-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.
diff --git
a/winsup/cygwin/exceptions.cc
b/winsup/cygwin/exceptions.cc
index
5acbe55
..
742aa68
100644
(file)
--- 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;
}