diff options
author | Kumar Aditya <kumaraditya@python.org> | 2025-01-04 08:48:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-04 08:48:22 (GMT) |
commit | 513a4efa75bf78c9d629ddabc9516fb058787289 (patch) | |
tree | d1971798de1b5b4f1740babe38d5fdbc93894c56 /Lib/test/test_pydoc/test_pydoc.py | |
parent | f1574859d7d6cd259f867194762f04b72ef2c340 (diff) | |
download | cpython-513a4efa75bf78c9d629ddabc9516fb058787289.zip cpython-513a4efa75bf78c9d629ddabc9516fb058787289.tar.gz cpython-513a4efa75bf78c9d629ddabc9516fb058787289.tar.bz2 |
gh-128002: fix many thread safety issues in asyncio (#128147)
* Makes `_asyncio.Task` and `_asyncio.Future` thread-safe by adding critical sections
* Add assertions to check for thread safety checking locking of object by critical sections in internal functions
* Make `_asyncio.all_tasks` thread safe when eager tasks are used
* Add a thread safety test
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions