cpython: d71db7fe4872 (original) (raw)

Mercurial > cpython

changeset 87513:d71db7fe4872

Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired. [#19740]

Richard Oudkerk shibturn@gmail.com
date Sun, 24 Nov 2013 17:50:40 +0000
parents 2bf4741515a7
children 6e5eab3add6c
files Lib/asyncio/windows_events.py
diffstat 1 files changed, 9 insertions(+), 2 deletions(-)[+] [-] Lib/asyncio/windows_events.py 11

line wrap: on

line diff

--- a/Lib/asyncio/windows_events.py +++ b/Lib/asyncio/windows_events.py @@ -327,14 +327,21 @@ class IocpProactor: handle, self._iocp, ov.address, ms) f = _WaitHandleFuture(wh, loop=self._loop)

self._cache[ov.address] = (f, ov, None, finish) return f