summaryrefslogtreecommitdiff
path: root/Python/condvar.h
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:52:24 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:52:24 -0400
commitddf47eb8c61ed4d3ee3ec680336b016b627e53dd (patch)
tree7c238ff29a60d4957e6e26d336a6163f061d057d /Python/condvar.h
parentf612c8fa7c1d6e244200a3eff0a82abcca4cca82 (diff)
parentcdfac6f16bec10dcb4885fd7f74ae80884d0cdf1 (diff)
downloadcpython-ddf47eb8c61ed4d3ee3ec680336b016b627e53dd.tar.gz
Merge with 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 fe6bd74da8..72b08f98c0 100644
--- a/Python/condvar.h
+++ b/Python/condvar.h
@@ -242,7 +242,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;