Hello,
is there a mean to implement stream objects (with ioctl method), letting possible to register them in u.select.pool() like sockets in add_writer (from uasyncio)?
( objective to create a scheduler of asyncio tasks by activating them through the iotcl values managment of these stream objects )
Thanks for your attention
DC
Protocol for Stream object creation
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Protocol for Stream object creation
You might like to read this thread especially the final commant from @pfalcon. tl;dr It can be done, but only in C.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.