mirror of
https://github.com/python/cpython.git
synced 2025-08-18 07:41:05 +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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_monitoring.py |