Skip to content

Commit d1ed0f1

Browse files
peterhinchdpgeorge
authored andcommitted
docs/library/uasyncio: Describe restriction on ThreadSafeFlag.
As per Issue micropython#7965, this class does not work on the Unix build.
1 parent 3927ce6 commit d1ed0f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/library/uasyncio.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class ThreadSafeFlag
149149

150150
Create a new flag which can be used to synchronise a task with code running
151151
outside the uasyncio loop, such as other threads, IRQs, or scheduler
152-
callbacks. Flags start in the cleared state.
152+
callbacks. Flags start in the cleared state. The class does not currently
153+
work under the Unix build of MicroPython.
153154

154155
.. method:: ThreadSafeFlag.set()
155156

0 commit comments

Comments
 (0)