mirror of
https://github.com/python/cpython.git
synced 2026-06-08 02:41:11 +00:00
In free-threaded builds, concurrent calls to PyDict_AddWatcher, PyDict_ClearWatcher, PyDict_Watch, and PyDict_Unwatch can race on the shared callback array and the per-dict watcher tags. This change adds a mutex to serialize watcher registration and removal, atomic operations for tag updates, and atomic acquire/release synchronization for callback dispatch in _PyDict_SendEvent. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| _analyzer.py | ||
| _builtin_types.py | ||
| _capi.py | ||
| _files.py | ||
| _parser.py | ||
| globals-to-fix.tsv | ||
| ignored.tsv | ||
| known.tsv | ||