Replace WaitForMultipleObjects with WaitForMultipleObjectEx,

for better WinRT compatibility.
This commit is contained in:
Martin v. Löwis 2013-01-25 14:29:13 +01:00
parent b26a9b10ea
commit c8c6563097
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ semlock_acquire(SemLockObject *self, PyObject *args, PyObject *kwds)
Py_BEGIN_ALLOW_THREADS
if (sigint_event != NULL)
ResetEvent(sigint_event);
res = WaitForMultipleObjects(nhandles, handles, FALSE, full_msecs);
res = WaitForMultipleObjectsEx(nhandles, handles, FALSE, full_msecs, FALSE);
Py_END_ALLOW_THREADS
/* handle result */