docs/library/uasyncio: Describe restriction on ThreadSafeFlag.

As per Issue #7965, this class does not work on the Unix build.
This commit is contained in:
Peter Hinch 2022-11-15 11:48:25 +00:00 committed by Damien George
parent 3927ce6035
commit d1ed0f1610

View File

@ -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()