docs/library/uasyncio: Describe restriction on ThreadSafeFlag.

As per Issue #7965, this class does not work on the Unix build.
pull/9968/head
Peter Hinch 2022-11-15 11:48:25 +00:00 zatwierdzone przez Damien George
rodzic 3927ce6035
commit d1ed0f1610
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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