Multiplexing 2 streams with asyncio

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 30 20:39:14 CET 2015


On Fri, Jan 30, 2015 at 11:45 AM, Paul  Moore <p.f.moore at gmail.com> wrote:
> 2. Because on Windows I'd have to use threads, whereas asyncio uses IO completion ports behind the scenes (I think) which are probably a lot more lightweight.

I have no idea whether that's true, but note that add_reader() on
Windows doesn't work with pipes:

https://docs.python.org/3/library/asyncio-eventloops.html#windows



More information about the Python-list mailing list