diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-08-10 05:58:10 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-08-10 05:58:10 -0700 |
commit | 2e74d253ec63d110af6e5a55bca22915fe374d60 (patch) | |
tree | b979cae87c256ab318808ca78526c8aaf0e7d09e /Python/condvar.h | |
parent | efdd3f26e3ca6220ddd8f7ce6a97fde9a14db45a (diff) | |
parent | d265ba722d7eebdde6234372287ce58fdd232437 (diff) | |
download | cpython-2e74d253ec63d110af6e5a55bca22915fe374d60.tar.gz |
Issue #18668: Further clarify m_size setting for non-negative values
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; |