mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
Makes sys.settrace, sys.setprofile, and monitoring generally thread-safe. Mostly uses a stop-the-world approach and synchronization around the code object's _co_instrumentation_version. There may be a little bit of extra synchronization around the monitoring data that's required to be TSAN clean.
Miscellaneous source files for the main Python shared library