mirror of
https://github.com/python/cpython.git
synced 2026-06-24 03:53:12 -04:00
513a4efa75
* 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
Source files for standard library extension modules, and former extension modules that are now builtin modules.