Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-28 23:31:23 +0400
committerChristopher Faylor <me@cgf.cx>2005-03-28 23:31:23 +0400
commitdc000a838679572cba87587a7548d8fce4c44aa9 (patch)
tree9d706e84a0ad36fc5410d35ca2f84b49cee17f81 /winsup/cygwin/cygthread.cc
parent12f9fb4972db8e9a25cff1cd7a9b847cd2846556 (diff)
* cygthread.cc (cygthread::detach): Revert to just waiting for thred event
since waiting for anything else is racy. * timer.cc (timer_tracker::hcancel): Rename from cancel. (timer_tracker::cancel): New method. (timer_tracker::th): Remove. (timer_tracker::~timer_tracker): Call cancel method. (timer_tracker::timer_tracker): Ditto. (timer_tracker::timer_tracker): Always, clear cancel, even though it is probably not strictly necessary for ttstart. (timer_thread): Accommodate cancel -> hcancel rename. (timer_tracker::settime): Ditto. (timer_tracker::gettime): Ditto. (timer_delete): Ditto. * cygwin.din: Export _ctype_. * include/ctype.h: Mark that _ctype_ is imported.
Diffstat (limited to 'winsup/cygwin/cygthread.cc')
-rw-r--r--winsup/cygwin/cygthread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc
index 11fb047dd..59b13be4f 100644
--- a/winsup/cygwin/cygthread.cc
+++ b/winsup/cygwin/cygthread.cc
@@ -315,7 +315,7 @@ cygthread::detach (HANDLE sigwait)
if (!sigwait)
/* If the caller specified a special handle for notification, wait for that.
This assumes that the thread in question is auto releasing. */
- res = WaitForSingleObject (notify_detached ?: *this, INFINITE);
+ res = WaitForSingleObject (*this, INFINITE);
else
{
/* Lower our priority and give priority to the read thread */