[New-bugs-announce] [issue23293] [Windows] asyncio: race condition related in IocpProactor.connect_pipe()

STINNER Victor report at bugs.python.org
Wed Jan 21 23:32:53 CET 2015


New submission from STINNER Victor:

Currently, IocpProactor.connect_pipe() is implemented with QueueUserWorkItem() which starts a thread that cannot be interrupted. Because of that, this function requires special cases in _register() and close() methods of IocpProactor.

While fixing the issue #23095, I saw that IocpProactor.connect_pipe() causes "GetQueuedCompletionStatus() returned an unexpected event" messages to be logged, but also to hang the test suite.

I propose a solution to reimplement IocpProactor.connect_pipe() without a thread:
https://code.google.com/p/tulip/issues/detail?id=197

It should fix this issue.

----------
components: Windows, asyncio
messages: 234448
nosy: gvanrossum, haypo, steve.dower, tim.golden, yselivanov, zach.ware
priority: normal
severity: normal
status: open
title: [Windows] asyncio: race condition related in IocpProactor.connect_pipe()
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23293>
_______________________________________


More information about the New-bugs-announce mailing list