diff options
author | Damien George <damien.p.george@gmail.com> | 2018-07-20 13:09:49 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-07-20 13:09:49 +1000 |
commit | ef554ef9a2708a8f344f22e586f52fb1343ed524 (patch) | |
tree | 5a58c900a9cfa79a62f3d332f2ff50f7d80f2128 /tools/pydfu.py | |
parent | 7a4f1b00f6dc279419ef72f4156480b4b84b1108 (diff) |
unix: Use MP_STREAM_GET_FILENO to allow uselect to poll general objects.
This mechanism will scale to to an arbitrary number of pollable objects, so
long as they implement the MP_STREAM_GET_FILENO ioctl. Since ussl objects
pass through ioctl requests transparently to the underlying socket object,
it will allow ussl sockets to be polled. And a user object with uio.IOBase
as a base could support polling.
Diffstat (limited to 'tools/pydfu.py')
0 files changed, 0 insertions, 0 deletions