diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-04-03 13:16:28 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-13 21:55:47 +1000 |
commit | 8470cd0be90de03ba38103db69d134c8915bc114 (patch) | |
tree | 8568e6f470ed38a548f6ddefb0f3228e6519c980 /py/scope.c | |
parent | 243805d776a19b16545d542b2f51ae88b6e314fe (diff) |
py/scheduler: Add assert that scheduler is locked when unlocking.
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.
Diffstat (limited to 'py/scope.c')
0 files changed, 0 insertions, 0 deletions