summaryrefslogtreecommitdiff
path: root/Python/condvar.h
diff options
context:
space:
mode:
authorMartin v. L?wis <martin@v.loewis.de>2013-03-24 22:53:04 +0100
committerMartin v. L?wis <martin@v.loewis.de>2013-03-24 22:53:04 +0100
commit86b17240c2e8176ba8ef55e39bf3b7d10914d8e4 (patch)
treea36b8eedc2ff4e94d7492eebbdcb989abf470142 /Python/condvar.h
parentce0764defba3da9c96a5e9f8badc848e1805baad (diff)
parent650458ab36c29cfd3906f4940eabd01b8b523b5c (diff)
downloadcpython-86b17240c2e8176ba8ef55e39bf3b7d10914d8e4.tar.gz
#17425: merge 3.3
Diffstat (limited to 'Python/condvar.h')
-rw-r--r--Python/condvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/condvar.h b/Python/condvar.h
index bbb40ba18e..e022dc7938 100644
--- a/Python/condvar.h
+++ b/Python/condvar.h
@@ -241,7 +241,7 @@ _PyCOND_WAIT_MS(PyCOND_T *cv, PyMUTEX_T *cs, DWORD ms)
* but we are safe because we are using a semaphore wich has an internal
* count.
*/
- wait = WaitForSingleObject(cv->sem, ms);
+ wait = WaitForSingleObjectEx(cv->sem, ms, FALSE);
PyMUTEX_LOCK(cs);
if (wait != WAIT_OBJECT_0)
--cv->waiting;