From 5391a40c895765db3a41dc8aeaa3c2b3c4c1ce7a Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 8 Oct 2009 15:56:14 +0000 Subject: [PATCH] * exceptions.cc (_cygtls::signal_exit): There's no need to set signal_arrived if we're exiting. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exceptions.cc | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6a90ac45f..ea65bf529 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-10-08 Christopher Faylor + + * exceptions.cc (_cygtls::signal_exit): There's no need to set + signal_arrived if we're exiting. + 2009-10-08 Eric Blake * fhandler_disk_file.cc (utimens_fs): Plug fd leak on EINVAL. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 05d30f2ef..e1bb7056c 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -1340,7 +1340,6 @@ _cygtls::signal_exit (int rc) SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_TIME_CRITICAL); sigproc_printf ("about to call do_exit (%x)", rc); - SetEvent (signal_arrived); do_exit (rc); } -- 2.43.5