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>
pull/14487/head
Damien George 2024-05-15 14:13:30 +10:00
rodzic e816b49c44
commit abd1f28bc2
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -149,8 +149,7 @@ class ThreadSafeFlag
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
callbacks. Flags start in the cleared state. The class does not currently
work under the Unix build of MicroPython.
callbacks. Flags start in the cleared state.
.. method:: ThreadSafeFlag.set()