-
Notifications
You must be signed in to change notification settings - Fork 577
Resolve capture_output deadlock in multiprocessing environments
#3957
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
Open
jsiirola
wants to merge
30
commits into
Pyomo:main
Choose a base branch
from
jsiirola:capture-output-deadlock
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
3fd1184
Switch Lock from threading to multiprocessing
jsiirola 0264d1c
Do not raise threading Lock errors when Python is shutting down
jsiirola c98bc8b
Split the deadlock timeout parameter
jsiirola b72d5e7
Minor code cleanup
jsiirola bb31b5f
Merge branch 'main' into capture-output-deadlock
jsiirola 9352266
Avoid Lock deadlock in @timeout() decorator
jsiirola 09b6e52
multiprocessing is now an automatic import
jsiirola 96e3aff
NFC: typo
jsiirola 4042736
Debugging
jsiirola e1c7edc
Update parser for new output
jsiirola c0081ef
Fix logic error
jsiirola 155c1f8
Attempt to make multiprocessing import more deterministic
jsiirola 30994a3
Attempt to make multiprocessing import more deterministic (try 2)
jsiirola 5dc09be
Update importtime tester to handle multiprocessing, improve output
jsiirola 01be5ce
NFC: apply black
jsiirola 00164ee
Debugging
jsiirola ce60ebc
Remove debugging; increase delay for GHA
jsiirola 4c5d032
Clean up multiprocessing imports
jsiirola 63635b1
Remove required import of multiprocessing
jsiirola 1ea96e8
Merge branch 'main' into capture-output-deadlock
jsiirola 61ffa30
Use a threading.Lock until multiprocessing is imported
jsiirola 5e7ad72
NFC: fix typo
jsiirola 8afd437
Update references to capture_output_lock
jsiirola 90094a3
Merge branch 'main' into capture-output-deadlock
jsiirola f31df34
Add debugging to environ summary
jsiirola b057923
Disable coverage when testing importtime
jsiirola ba4d83b
Remove unused dependency
jsiirola 63974f8
Importtime tests: prevent import of site pth files
jsiirola 6089c53
Convert commented test to 'documentation'
jsiirola 4c64b30
Preserve PYTHONPATH when running importtime test
jsiirola File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Residual?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No: that is part of the comment text