diff options
author | Raymond Hettinger <python@rcn.com> | 2013-03-24 15:21:57 -0700 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-03-24 15:21:57 -0700 |
commit | 579084247b8b12d2d8ec3faa98ae60e7bd5dcfab (patch) | |
tree | 30c07db6430d8d82091a73757b4194cd6d6328a7 /Python/condvar.h | |
parent | bbca631b3d681c2c81534d14e9bb746c3bb7c92b (diff) | |
parent | 86b17240c2e8176ba8ef55e39bf3b7d10914d8e4 (diff) | |
download | cpython-579084247b8b12d2d8ec3faa98ae60e7bd5dcfab.tar.gz |
merge
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; |