[Python-checkins] cpython: Replace WaitForMultipleObjects with WaitForMultipleObjectEx,
martin.v.loewis
python-checkins at python.org
Fri Jan 25 14:30:03 CET 2013
http://hg.python.org/cpython/rev/46ed0a25fb2c
changeset: 81713:46ed0a25fb2c
user: Martin v. Löwis <martin at v.loewis.de>
date: Fri Jan 25 14:29:13 2013 +0100
summary:
Replace WaitForMultipleObjects with WaitForMultipleObjectEx,
for better WinRT compatibility.
files:
Modules/_multiprocessing/semaphore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c
--- a/Modules/_multiprocessing/semaphore.c
+++ b/Modules/_multiprocessing/semaphore.c
@@ -118,7 +118,7 @@
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 */
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list