Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.3k
bpo-36668: FIX reuse semaphore tracker for child processes#5172
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
12 commits Select commitHold shift + click to select a range
d77cd4a FIX reuse semaphore tracker for child processes
tomMoral398216f FIX typo in spawn.prepare
tomMoral87964fc TST add test for reused semtracker + CLN unused code
tomMoral49e96f1 DOC add what's new
tomMorald9b23e1 ENH test check pid of semaphore_tracker
tomMoralb61bba2 FIX dangling process in test_sem_tracker
tomMoral96cb643 CLN correctly avoid dangling processes
tomMoralcbfefd1 CLN improve docstring for _check_alive in semaphore_tracker
ZackerySpytz8f8e82f CLN improve tests and avoid passing unused variables
tomMoral9a5c94e FIX semaphore_tracker for the fork context
tomMoralada8a9d ENH more robust sem_tracker.ensure_running
tomMoralf6d6a31 DBG trigger appveyor
tomMoralFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
36 changes: 26 additions & 10 deletionsLib/multiprocessing/semaphore_tracker.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletionsLib/test/_test_multiprocessing.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionsMisc/NEWS.d/next/Library/2018-04-06-11-06-23.bpo-31310.eq9ky0.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix the multiprocessing.semaphore_tracker so it is reused by child processes |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.