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
K
Kumar Aditya committed
513a4efa75bf78c9d629ddabc9516fb058787289
Parent: f157485
Committed by GitHub <noreply@github.com>
on 1/4/2025, 8:48:22 AM