summaryrefslogtreecommitdiff
path: root/w32_CancelableWait.c
diff options
context:
space:
mode:
Diffstat (limited to 'w32_CancelableWait.c')
-rw-r--r--w32_CancelableWait.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/w32_CancelableWait.c b/w32_CancelableWait.c
index 42f28f5..6352ff9 100644
--- a/w32_CancelableWait.c
+++ b/w32_CancelableWait.c
@@ -104,15 +104,15 @@ ptw32_cancelable_wait (HANDLE waitHandle, DWORD timeout)
case 1:
/*
* Got cancel request.
- * In the event that both handles are signalled, the cancel will
+ * In the event that both handles are signaled, the cancel will
* be ignored (see case 0 comment).
*/
ResetEvent (handles[1]);
- if (self != NULL && !self->implicit)
+ if (self != NULL)
{
/*
- * Thread started with pthread_create.
+ * Should handle POSIX and implicit POSIX threads..
* Make sure we haven't been async-canceled in the meantime.
*/
(void) pthread_mutex_lock(&self->cancelLock);