micropython/extmod/uasyncio
Ned Konz 5543b2a9cc extmod/uasyncio: Add clear method to ThreadSafeFlag.
This is useful in situations where the ThreadSafeFlag is reused and needs
to be cleared of any previous, unwanted event.

For example, clear the flag at the start of an operation, trigger the
operation (eg an I2C write), then (a)wait for an external event to set the
flag (eg a pin IRQ).  Further events may trigger the flag again but these
are unwanted and should be cleared before the next cycle starts.
2022-08-12 17:06:28 +10:00
..
__init__.py extmod/uasyncio: Add ThreadSafeFlag. 2021-02-16 16:35:37 +11:00
core.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
event.py extmod/uasyncio: Add clear method to ThreadSafeFlag. 2022-08-12 17:06:28 +10:00
funcs.py extmod/uasyncio: Handle gather with no awaitables. 2022-07-26 18:16:19 +10:00
lock.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00
manifest.py
stream.py extmod/uasyncio: Implement stream read(-1) to read all data up to EOF. 2022-06-24 17:04:57 +10:00
task.py extmod/uasyncio: Rename and merge TaskQueue push/pop methods. 2022-04-22 16:37:02 +10:00