mirror of https://github.com/python/cpython
07525c9a85
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 |