Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase ↵ | Andrew Svetlov | 2022-03-23 |
| | | | | (GH-32086) | ||
* | bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) | Kyle Stanley | 2020-05-20 |
| | | | | | Allows contextvars from the main thread to be accessed in the separate thread used in `asyncio.to_thread()`. See the [discussion](https://github.com/python/cpython/pull/20143#discussion_r427808225) in GH-20143 for context. Automerge-Triggered-By: @aeros | ||
* | bpo-32309: Implement asyncio.to_thread() (GH-20143) | Kyle Stanley | 2020-05-18 |
Implements `asyncio.to_thread`, a coroutine for asynchronously running IO-bound functions in a separate thread without blocking the event loop. See the discussion starting from [here](https://github.com/python/cpython/pull/18410#issuecomment-628930973) in GH-18410 for context. Automerge-Triggered-By: @aeros |