summaryrefslogtreecommitdiffstats
path: root/Misc/python-config.in
diff options
context:
space:
mode:
authorStephen Hansen <stephen.paul.hansen@gmail.com>2024-12-15 19:53:22 (GMT)
committerGitHub <noreply@github.com>2024-12-15 19:53:22 (GMT)
commit46006a1b355f75d06c10e7b8086912c483b34487 (patch)
tree03efaaf9e69c71002d4babf7e76e028a5a406f80 /Misc/python-config.in
parent7b8bd3b2b81f4aca63c5b603b56998f6b3ee2611 (diff)
downloadcpython-46006a1b355f75d06c10e7b8086912c483b34487.zip
cpython-46006a1b355f75d06c10e7b8086912c483b34487.tar.gz
cpython-46006a1b355f75d06c10e7b8086912c483b34487.tar.bz2
gh-127586: properly restore blocked signals in resource_tracker.py (GH-127587)
* Correct pthread_sigmask in resource_tracker to restore old signals Using SIG_UNBLOCK to remove blocked "ignored signals" may accidentally cause side effects if the calling parent already had said signals blocked to begin with and did not intend to unblock them when creating a pool. Use SIG_SETMASK instead with the previous mask of blocked signals to restore the original blocked set. * Adding resource_tracker blocked signals test Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Misc/python-config.in')
0 files changed, 0 insertions, 0 deletions