summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_uop_metadata.h
diff options
context:
space:
mode:
authorAN Long <aisk@users.noreply.github.com>2024-07-01 19:11:39 (GMT)
committerGitHub <noreply@github.com>2024-07-01 19:11:39 (GMT)
commit294e72496439da984cb8dba9100d3613c8cc8a6d (patch)
tree8b205b9af78fdd7469bb462b81b7a0b51b748754 /Include/internal/pycore_uop_metadata.h
parent9bcb7d8c6f8277c4e76145ec4c834213167e3387 (diff)
downloadcpython-294e72496439da984cb8dba9100d3613c8cc8a6d.zip
cpython-294e72496439da984cb8dba9100d3613c8cc8a6d.tar.gz
cpython-294e72496439da984cb8dba9100d3613c8cc8a6d.tar.bz2
gh-117657: Fix data races reported by TSAN in some set methods (#120914)
Refactor the fast Unicode hash check into `_PyObject_HashFast` and use relaxed atomic loads in the free-threaded build. After this change, the TSAN doesn't report data races for this method.
Diffstat (limited to 'Include/internal/pycore_uop_metadata.h')
0 files changed, 0 insertions, 0 deletions