bpo-33613: multiprocessing semtracker uses sigmask by vstinner · Pull Request #8500 · python/cpython
Conversation
The multiprocessing semaphore tracker now uses
signal.pthread_sigmask() to block signals before spawning the child
to queue the signals before we modify the signal handlers to ignore
some signals.
The multiprocessing semaphore tracker now uses signal.pthread_sigmask() to block signals before spawning the child to queue the signals before we modify the signal handlers to ignore some signals.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I can confirm that this works and solves the problem that #7850 is solving. Should I push the fix for the test in this PR and close #7850 or should we apply this one in #7850?
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