Kaydet (Commit) c8c65630 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Replace WaitForMultipleObjects with WaitForMultipleObjectEx,

for better WinRT compatibility.
üst b26a9b10
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment