mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
1d3cf79a50
The `_PySeqLock_EndRead` function needs an acquire fence to ensure that the load of the sequence happens after any loads within the read side critical section. The missing fence can trigger bugs on macOS arm64. Additionally, we need a release fence in `_PySeqLock_LockWrite` to ensure that the sequence update is visible before any modifications to the cache entry. |
||
---|---|---|
.. | ||
Build | ||
C API | ||
Core and Builtins | ||
Documentation | ||
IDLE | ||
Library | ||
macOS | ||
Security | ||
Tests | ||
Tools-Demos | ||
Windows |