-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-133744: Fix multiprocessing interrupt test: add an event #133746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant
Conversation
Add an event to synchronize the parent process with the child process: wait until the child process starts sleeping.
cc @pitrou Without this change, the SIGINT signal can be sent too early: in multiprocessing setup code. |
With this change, I can no longer reproduce the issue:
|
Since 2013, there was a workaround for this issue, using a simple sleep(1): commit 26f9268.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, @vstinner, I could not cleanly backport this to
|
…thonGH-133746) Add an event to synchronize the parent process with the child process: wait until the child process starts sleeping. (cherry picked from commit c2989b7) Co-authored-by: Victor Stinner <vstinner@python.org>
…thon#133746) Add an event to synchronize the parent process with the child process: wait until the child process starts sleeping. (cherry picked from commit c2989b7)
Add an event to synchronize the parent process with the child process: wait until the child process starts sleeping.