diff options
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 */ |