From d1ed0f161099175319bbdb7a3546634c4a8c2b25 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Tue, 15 Nov 2022 11:48:25 +0000 Subject: [PATCH] docs/library/uasyncio: Describe restriction on ThreadSafeFlag. As per Issue #7965, this class does not work on the Unix build. --- docs/library/uasyncio.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/library/uasyncio.rst b/docs/library/uasyncio.rst index 859d505d79..4cbcfa9f98 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()