From dc000a838679572cba87587a7548d8fce4c44aa9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 28 Mar 2005 19:31:23 +0000 Subject: * 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. --- winsup/cygwin/cygthread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/cygthread.cc') diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index 11fb047..59b13be 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 */ -- cgit v1.1