summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp_exceptions.h
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-09-06 19:07:08 (GMT)
committerGitHub <noreply@github.com>2024-09-06 19:07:08 (GMT)
commit0c080d7c77d826c1afab7bd6b73f61e714cffcb7 (patch)
tree659e61d4fd1830f4dd7e2c1daf94bd9df3e330ef /Python/crossinterp_exceptions.h
parent8a46a2ec5032c5eb1bc3c6bb0fc2422ac9b2cc53 (diff)
downloadcpython-0c080d7c77d826c1afab7bd6b73f61e714cffcb7.zip
cpython-0c080d7c77d826c1afab7bd6b73f61e714cffcb7.tar.gz
cpython-0c080d7c77d826c1afab7bd6b73f61e714cffcb7.tar.bz2
gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (#123690)
Use a `PyMutex` to avoid the race in mutex initialization. Use relaxed atomics to avoid the data race on reading `_PyOS_ReadlineTState` when checking for re-entrant calls.
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions