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/thread_nt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/thread_nt.h') diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 938bf1e3fe..bd604fbdd3 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -130,7 +130,7 @@ FreeNonRecursiveMutex(PNRMUTEX mutex) DWORD EnterNonRecursiveMutex(PNRMUTEX mutex, DWORD milliseconds) { - return WaitForSingleObject(mutex, milliseconds); + return WaitForSingleObjectEx(mutex, milliseconds, FALSE); } BOOL -- cgit v1.2.1