aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-14 16:55:24 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-14 16:55:24 +0000
commitf6393387ef5f8b9ebb219abb4cb50da06491ba83 (patch)
treeb6c107684065e75ecbe867069d7c9899f9d8e913 /winsup
parentc350feda2096e2446bf7cc0b97019eed7386400d (diff)
downloadnewlib-f6393387ef5f8b9ebb219abb4cb50da06491ba83.zip
newlib-f6393387ef5f8b9ebb219abb4cb50da06491ba83.tar.gz
newlib-f6393387ef5f8b9ebb219abb4cb50da06491ba83.tar.bz2
* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
chain.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d2ada06..e4a8d34 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2003-12-14 Christopher Faylor <cgf@redhat.com>
+ * exceptions.cc (ctrl_c_handler): Remove this thread from the signal
+ handler chain.
+
+2003-12-14 Christopher Faylor <cgf@redhat.com>
+
* cygthread.cc (cygthread::stub): Revert previous change and again
subsume cygthread::stub2. Just return from function now since
ExitThread is guaranteed by automatic _threadinfo wrapper. Define as
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index a479519..29323ae 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -899,6 +899,7 @@ static BOOL WINAPI
ctrl_c_handler (DWORD type)
{
static bool saw_close;
+ _my_tls.remove ();
/* Return FALSE to prevent an "End task" dialog box from appearing
for each Cygwin process window that's open when the computer