summaryrefslogtreecommitdiffstats
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2018-04-23 20:22:49 (GMT)
committerGitHub <noreply@github.com>2018-04-23 20:22:49 (GMT)
commitb0ca398cabd2d2ea2d66fa50b08e297a60388c75 (patch)
tree4e0886c84c8075b86f96e4dcb79519b0160653d5 /Python/dynload_shlib.c
parent8a6f4b4bba950fb8eead1b176c58202d773f2f70 (diff)
downloadcpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.zip
cpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.tar.gz
cpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.tar.bz2
[3.6] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (GH-6582)
Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom is commonly used to select all signals for blocking with `pthread_sigmask`. So we ignore the sigaddset() return value until we expose sigfillset() to provide a better idiom. (cherry picked from commit 25038ecfb665bef641abf8cb61afff7505b0e008)
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions