micropython-lib/uasyncio.core/uasyncio
Paul Sokolovsky bb3057ffed uasyncio.core: Fix scheduling in the presense of I/O completion callbacks.
wait() may finish prematurely due to I/O completion, and schedule new,
earlier than before tasks to run. So, after call to wait(), we need to
check current time and time of head task, and continue to wait if needed.
Recently introduced provisional utimeq.peektime() is used to optimize
querying time of a head task.
2017-04-08 01:34:57 +03:00
..
core.py uasyncio.core: Fix scheduling in the presense of I/O completion callbacks. 2017-04-08 01:34:57 +03:00