mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Replace WaitForSingleObject with WaitForSingleObjectEx,
for better WinRT compatibility.
This commit is contained in:
parent
3f50bf652b
commit
b26a9b10ea
6 changed files with 7 additions and 7 deletions
|
@ -130,7 +130,7 @@ FreeNonRecursiveMutex(PNRMUTEX mutex)
|
|||
DWORD
|
||||
EnterNonRecursiveMutex(PNRMUTEX mutex, DWORD milliseconds)
|
||||
{
|
||||
return WaitForSingleObject(mutex, milliseconds);
|
||||
return WaitForSingleObjectEx(mutex, milliseconds, FALSE);
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue