From 729167bcaa47901b4918cf6148f27cb97fa23726 Mon Sep 17 00:00:00 2001 From: "Martin v. L?wis" Date: Fri, 25 Jan 2013 14:25:48 +0100 Subject: Replace WaitForSingleObject with WaitForSingleObjectEx, for better WinRT compatibility. --- Python/condvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/condvar.h') 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; -- cgit v1.2.1