asyncore: suggested patch
Panu A Kalliokoski
pkalliok at cc.helsinki.fi
Thu May 31 06:03:15 EDT 2001
Courageous <jkraska1 at san.rr.com> wrote:
> Well, a general communications abstraction which offers an abstract possibility
> which can be satisfied by a variety of possibly futures would be useful. For
> example, the possibility of interest in this particular case could be satisified by
> either the delivery of the data or arrival of the maximum time of delivery.
The selecting package handles this by event queues which get to define the
select() timeout.
> This is a generalization of a very old design pattern.
Yup. In my ideal OS, one could do select() / poll() on anything, because
it's a nice way to handle this problem of synchronous multiplexing I/O
with scheduled events.
Panu Kalliokoski
More information about the Python-list
mailing list