summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-09-06 20:55:42 (GMT)
committerGitHub <noreply@github.com>2024-09-06 20:55:42 (GMT)
commit905288824dd6874659bf3e3aa06c6a67e47f0ac3 (patch)
tree3c5ede90bb6223165509a723ddccb207030ad206 /Python/pythonrun.c
parente68f30ecd2505a3fe25b93e7a62193adb9bcaf79 (diff)
downloadcpython-905288824dd6874659bf3e3aa06c6a67e47f0ac3.zip
cpython-905288824dd6874659bf3e3aa06c6a67e47f0ac3.tar.gz
cpython-905288824dd6874659bf3e3aa06c6a67e47f0ac3.tar.bz2
[3.13] gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH-123690) (#123798)
gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH-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. (cherry picked from commit 0c080d7c77d826c1afab7bd6b73f61e714cffcb7) Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions