summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hinch <peterhinch@users.noreply.github.com>2022-11-15 11:48:25 +0000
committerDamien George <damien@micropython.org>2022-11-16 13:03:43 +1100
commitd1ed0f161099175319bbdb7a3546634c4a8c2b25 (patch)
treea281846289cb54788c17fad6433e93f697e0efc9
parent3927ce60357a9b09fca03ff566aca14aeeca1798 (diff)
docs/library/uasyncio: Describe restriction on ThreadSafeFlag.
As per Issue #7965, this class does not work on the Unix build.
-rw-r--r--docs/library/uasyncio.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst
index 859d505d7..4cbcfa9f9 100644
--- a/docs/library/uasyncio.rst
+++ b/docs/library/uasyncio.rst
@@ -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()