Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Add an event to synchronize the parent process with the childprocess: wait until the child process starts sleeping.
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): commit26f9268.
|
c2989b7
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 childprocess: wait until the child process starts sleeping.(cherry picked from commitc2989b7)Co-authored-by: Victor Stinner <vstinner@python.org>
GH-133916 is a backport of this pull request to the3.14 branch. |
GH-133917 is a backport of this pull request to the3.13 branch. |
…thon#133746)Add an event to synchronize the parent process with the childprocess: wait until the child process starts sleeping.(cherry picked from commitc2989b7)
Uh oh!
There was an error while loading.Please reload this page.
Add an event to synchronize the parent process with the child process: wait until the child process starts sleeping.