mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
There were a few thread-safety issues when profiling or tracing all
threads via PyEval_SetProfileAllThreads or PyEval_SetTraceAllThreads:
* The loop over thread states could crash if a thread exits concurrently
(in both the free threading and default build)
* The modification of `c_profilefunc` and `c_tracefunc` wasn't
thread-safe on the free threading build.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_bisect.py | ||
| test_code.py | ||
| test_dict.py | ||
| test_func_annotations.py | ||
| test_gc.py | ||
| test_list.py | ||
| test_monitoring.py | ||
| test_set.py | ||
| test_slots.py | ||
| test_str.py | ||
| test_tokenize.py | ||
| test_type.py | ||