summaryrefslogtreecommitdiffstatshomepage
path: root/docs/pyboard/tutorial
diff options
context:
space:
mode:
authorYoctopuce dev <dev@yoctopuce.com>2025-02-15 15:24:50 +0100
committerDamien George <damien@micropython.org>2025-05-07 14:56:47 +1000
commitbdb7e036d2400c25beeb2b4252ff51c5255c4020 (patch)
treebc09484a6bf1cdff6efccea1999b68ef6706c068 /docs/pyboard/tutorial
parent79abdad9e97f18f45650e1abce64ee51c3372953 (diff)
downloadmicropython-bdb7e036d2400c25beeb2b4252ff51c5255c4020.tar.gz
micropython-bdb7e036d2400c25beeb2b4252ff51c5255c4020.zip
extmod/asyncio: Fix early exit of asyncio scheduler.
This commit fixes three open issues related to the asyncio scheduler exiting prematurely when the main task queue is empty, in cases where CPython would not exit (for example, because the main task is not done because it's on a different queue). In the first case, the scheduler exits because running a task via `run_until_complete` did not schedule any dependent tasks. In the other two cases, the scheduler exits because the tasks are queued in an event queue. Tests have been added which reproduce the original issues. These test cases document the unauthorized use of `Event.set()` from a soft IRQ, and are skipped in unsupported environments (webassembly and native emitter). Fixes issues #16759, #16569 and #16318. Signed-off-by: Yoctopuce dev <dev@yoctopuce.com>
Diffstat (limited to 'docs/pyboard/tutorial')
0 files changed, 0 insertions, 0 deletions