| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-28 | tests/thread/stress_schedule.py: Assign globals before running test. | Damien George | |
| 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> | |||
| 2020-04-13 | py/scheduler: Add assert that scheduler is locked when unlocking. | Jim Mussared | |
| And add a test that shows how this can happen when multiple threads are accessing the scheduler, which fails if atomic sections are not used. | |||
