diff options
author | Damien George <damien@micropython.org> | 2025-07-10 16:43:35 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-07-22 23:22:05 +1000 |
commit | 97fd18a7e299f5a00207f47c1728a9bb67a2fda0 (patch) | |
tree | 2478015bc059d554a13fd703382b7aaaa6b7ba17 /tests/thread/mutate_instance.py | |
parent | 18f2e94846111ad05d49e260c59de366f3ae2489 (diff) |
tests/extmod/select_poll_eintr.py: Pre-allocate global variables.
This is a workaround for the case where threading is enabled without a GIL.
In such a configuration, creating a new global variable is not atomic and
threads have race conditions resizing/accessing the global dict.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/thread/mutate_instance.py')
0 files changed, 0 insertions, 0 deletions