diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 23:10:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 23:10:24 (GMT) |
commit | 2f49e091100e7b834767a1a295c63938c6864e55 (patch) | |
tree | 371d395c8411647a7cb1a135dc314cb076f508a4 /PC/pycon.ico | |
parent | d6990d221b0528fb874561201e9a374bc0b8ac0f (diff) | |
download | cpython-2f49e091100e7b834767a1a295c63938c6864e55.zip cpython-2f49e091100e7b834767a1a295c63938c6864e55.tar.gz cpython-2f49e091100e7b834767a1a295c63938c6864e55.tar.bz2 |
Fix _tracemalloc start/stop
Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag.
set_reentrant(1) fails with an assertion error if tracemalloc_init() is called
first in a thread A and tracemalloc_start() is called second in a thread B. The
tracemalloc is imported in a thread A. Importing the module calls
tracemalloc_init(). tracemalloc.start() is called in a thread B.
Diffstat (limited to 'PC/pycon.ico')
0 files changed, 0 insertions, 0 deletions