diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-07-30 20:09:36 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-07-30 20:09:36 +0200 |
commit | dea573ec3aa5f526017a9b121cc574173f7e0e7f (patch) | |
tree | 643be57ade4e8b3a9960b7addd96c6bba6f2e85f /Python/condvar.h | |
parent | cd097b5262a96c2bea85ad0000c269ceea9f5089 (diff) | |
parent | 3e0aaf3e7d782ca7e08de2ba352be9c80d634dbe (diff) | |
download | cpython-dea573ec3aa5f526017a9b121cc574173f7e0e7f.tar.gz |
Merge doc fix
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; |