Skip to content

[3.12] gh-104812: Run Pending Calls in any Thread (gh-104813) - #105752

Merged
ericsnowcurrently merged 3 commits into
python:3.12from
ericsnowcurrently:per-interpreter-pending-calls-backport-3.12
Jun 14, 2023
Merged

ericsnowcurrently merged 3 commits into
python:3.12from
ericsnowcurrently:per-interpreter-pending-calls-backport-3.12

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Jun 13, 2023 •

Copy link
Copy Markdown
Member

For a while now, pending calls only run in the main thread (in the main interpreter). This PR changes things to allow any thread run a pending call, unless the pending call was explicitly added for the main thread to run.
(cherry picked from commit 757b402)

For a while now, pending calls only run in the main thread (in the main interpreter).  This PR changes things to allow any thread run a pending call, unless the pending call was explicitly added for the main thread to run.
@ericsnowcurrently
ericsnowcurrently force-pushed the per-interpreter-pending-calls-backport-3.12 branch from 0fb86c7 to f95336b Compare June 13, 2023 21:56
@ericsnowcurrently
ericsnowcurrently enabled auto-merge (squash) June 14, 2023 00:22
@ericsnowcurrently
ericsnowcurrently merged commit 33d3069 into python:3.12 Jun 14, 2023
@ericsnowcurrently
ericsnowcurrently deleted the per-interpreter-pending-calls-backport-3.12 branch June 14, 2023 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants