Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #84916

Re: Multiplexing 2 streams with asyncio

References <a0f4ef01-fcdb-4442-b874-b62004d624e6@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2015-01-30 12:39 -0700
Subject Re: Multiplexing 2 streams with asyncio
Newsgroups comp.lang.python
Message-ID <mailman.18319.1422646805.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jan 30, 2015 at 11:45 AM, Paul  Moore <p.f.moore@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Multiplexing 2 streams with asyncio Paul  Moore <p.f.moore@gmail.com> - 2015-01-30 10:45 -0800
  Re: Multiplexing 2 streams with asyncio Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-30 12:39 -0700

csiph-web