diff options
author | Sam Gross <colesbury@gmail.com> | 2024-09-06 15:07:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 15:07:08 -0400 |
commit | 0c080d7c77d826c1afab7bd6b73f61e714cffcb7 (patch) | |
tree | 659e61d4fd1830f4dd7e2c1daf94bd9df3e330ef /Lib/asyncio/__main__.py | |
parent | 8a46a2ec5032c5eb1bc3c6bb0fc2422ac9b2cc53 (diff) | |
download | cpython-0c080d7c77d826c1afab7bd6b73f61e714cffcb7.tar.gz cpython-0c080d7c77d826c1afab7bd6b73f61e714cffcb7.zip |
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 'Lib/asyncio/__main__.py')
0 files changed, 0 insertions, 0 deletions