summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:29:13 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:29:13 (GMT)
commitc8c6563097b3a05e372e1f1b1527135ecce69812 (patch)
tree0d3850f9a8f5101e557ee40627ded0631477d34f /Modules/_multiprocessing
parentb26a9b10ea5f095da0c699e41b29a724021cd09a (diff)
downloadcpython-c8c6563097b3a05e372e1f1b1527135ecce69812.zip
cpython-c8c6563097b3a05e372e1f1b1527135ecce69812.tar.gz
cpython-c8c6563097b3a05e372e1f1b1527135ecce69812.tar.bz2
Replace WaitForMultipleObjects with WaitForMultipleObjectEx,
for better WinRT compatibility.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c
index bdf56a9..dcf3b42 100644
--- a/Modules/_multiprocessing/semaphore.c
+++ b/Modules/_multiprocessing/semaphore.c
@@ -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 */