diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-28 19:31:23 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-28 19:31:23 +0000 |
commit | dc000a838679572cba87587a7548d8fce4c44aa9 (patch) | |
tree | 9d706e84a0ad36fc5410d35ca2f84b49cee17f81 /winsup/cygwin/cygthread.cc | |
parent | 12f9fb4972db8e9a25cff1cd7a9b847cd2846556 (diff) | |
download | cygnal-dc000a838679572cba87587a7548d8fce4c44aa9.tar.gz cygnal-dc000a838679572cba87587a7548d8fce4c44aa9.tar.bz2 cygnal-dc000a838679572cba87587a7548d8fce4c44aa9.zip |
* 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.cc | 2 |
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 */ |