summaryrefslogtreecommitdiff
path: root/Python/condvar.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-05-13 19:56:35 -0500
committerBenjamin Peterson <benjamin@python.org>2013-05-13 19:56:35 -0500
commit8f80c1e903fe00c00a8810c762a56f76bd3b3d04 (patch)
treeca18fccd415e143a13e3b0f82c34d689bedb13be /Python/condvar.h
parent1078da07f5752919a55792b6b8489e6e846377fd (diff)
parentc15df25fef4ab764bf9ae2c0ca9453d0906037d8 (diff)
downloadcpython-8f80c1e903fe00c00a8810c762a56f76bd3b3d04.tar.gz
merge 3.3 (#17968)
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;