Files
micropython/py
Angus Gratton 52a593cdb1 py/scheduler: Only run callbacks on the main thread if GIL is disabled.
Otherwise it's very difficult to reason about thread safety in a
scheduler callback, as it can run at any time on any thread - including
racing against any bytecode operation on any thread.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-09-19 13:17:01 +10:00
..
2024-06-21 16:21:33 +10:00
2024-07-19 10:36:30 +10:00
2023-06-02 21:50:57 +10:00
2024-06-06 17:34:28 +10:00