diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-01 03:16:51 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-01 03:16:51 +0200 |
commit | a80087023eaf710faad265d61d3d8b1c62462c9b (patch) | |
tree | c0c583964c1490c3b06120f84b41d257d9a374da /Python/pythonrun.c | |
parent | 77e1aeaf9cedd48ad1df88ca8155dc5791a04c39 (diff) | |
download | cpython-a80087023eaf710faad265d61d3d8b1c62462c9b.tar.gz |
Issue #11393: fix usage of locks in faulthandler
* faulthandler_cancel_dump_tracebacks_later() is responsible to set running
to zero (so we don't need the volatile keyword anymore)
* release locks if PyThread_start_new_thread() fails
assert(thread.running == 0) was wrong in a corner case
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions