docs/library/asyncio: Document that ThreadSafeFlag now works on unix.

ThreadSafeFlag works on the unix port since commit
df08c38c28.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2024-05-15 14:13:30 +10:00
parent e816b49c44
commit abd1f28bc2

View File

@ -149,8 +149,7 @@ class ThreadSafeFlag
Create a new flag which can be used to synchronise a task with code running Create a new flag which can be used to synchronise a task with code running
outside the asyncio loop, such as other threads, IRQs, or scheduler outside the asyncio loop, such as other threads, IRQs, or scheduler
callbacks. Flags start in the cleared state. The class does not currently callbacks. Flags start in the cleared state.
work under the Unix build of MicroPython.
.. method:: ThreadSafeFlag.set() .. method:: ThreadSafeFlag.set()