mirror of
https://github.com/python/cpython.git
synced 2025-11-03 15:11:34 +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 | ||