circuitpython/tests/extmod/asyncio_threadsafeflag.py.exp
Jim Mussared fae83a6b4d tests/extmod/asyncio_threadsafeflag.py: Update for unix select.
1. Remove the skip for detecting support for polling user-defined objects
   as this is always possible now on all ports.
2. Don't print when the scheduled task runs as the ordering of this
   relative to the other prints is dependent on other factors (e.g. if
   using the native emitter).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-09-29 17:58:40 +10:00

31 lines
247 B
Plaintext

yield
task 1
set event
yield
wait task
task 1 done
----
yield
task 2
set event
yield
wait task
task 2 done
----
set event
yield
task 3
task 3 done
wait task
----
set event
yield
clear event
yield
yield
task 4
set event
yield
wait task
task 4 done