diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-01 01:16:51 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-01 01:16:51 (GMT) |
commit | f309134effa997b19e202c9b580d3332952f65a4 (patch) | |
tree | 2446a4709e8d8c0a90ca8ef32dcb027c5414d104 /Doc/library | |
parent | a4d4f1b4cb9f6038f865f86e1aa93169fc54dbaf (diff) | |
download | cpython-f309134effa997b19e202c9b580d3332952f65a4.zip cpython-f309134effa997b19e202c9b580d3332952f65a4.tar.gz cpython-f309134effa997b19e202c9b580d3332952f65a4.tar.bz2 |
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 'Doc/library')
0 files changed, 0 insertions, 0 deletions