summaryrefslogtreecommitdiff
path: root/Python/condvar.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-10 12:24:06 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-10 12:24:06 +0200
commitb269ef065938e598ab8bd99f73306aa7883e4257 (patch)
tree1bf6aeb4d1a83929b68c8d06b01bf8a434e8de03 /Python/condvar.h
parent82ad4d2a8d5b7b3147af9cf6406fca37d493e6ee (diff)
parent7dc68556d28f052d990549246963b63b4021ba4c (diff)
downloadcpython-b269ef065938e598ab8bd99f73306aa7883e4257.tar.gz
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
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;