diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
commit | ff1769802fc3ac342e45d4967eeece028184fe6c (patch) | |
tree | fd08ccf458c45f70ccb09547d28826a7071c73b3 /Python/condvar.h | |
parent | 77772c41204d33ca7ccb96908d2275a1d2711aa6 (diff) | |
parent | e0833fb5e338ab5d63f7ec2d15bdb65b3dc99e6d (diff) | |
download | cpython-ff1769802fc3ac342e45d4967eeece028184fe6c.tar.gz |
Issue #20301: Merge with 3.3
Diffstat (limited to 'Python/condvar.h')
-rw-r--r-- | Python/condvar.h | 2 |
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; |