diff options
author | Damien George <damien@micropython.org> | 2020-10-28 00:54:30 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-10-28 00:54:30 +1100 |
commit | 368c1a09611f2a139c0e401eeb4359f9cc2a7c57 (patch) | |
tree | 9e6252c8f0481c2fc57378dfb6796d0291214cb9 /tests/basics/array_add.py | |
parent | 05f95682e7ddfb08c317e83826df9a1d636676f3 (diff) |
tests/thread/stress_schedule.py: Assign globals before running test.
When threading is enabled without the GIL then there can be races between
the threads accessing the globals dict. Avoid this issue by making sure
all globals variables are allocated before starting the threads.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/array_add.py')
0 files changed, 0 insertions, 0 deletions