summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-04-23 19:42:26 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2018-04-23 19:42:26 (GMT)
commit75a3e3d5bc0be1ce41289b661e7c53039cf3d5ba (patch)
tree15231e534f2f08c4532b962c87b62d26177d1739 /Python/compile.c
parent9fc998d761591f2741d8e94f5b3009c56ae83882 (diff)
downloadcpython-75a3e3d5bc0be1ce41289b661e7c53039cf3d5ba.zip
cpython-75a3e3d5bc0be1ce41289b661e7c53039cf3d5ba.tar.gz
cpython-75a3e3d5bc0be1ce41289b661e7c53039cf3d5ba.tar.bz2
bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (GH-6579)
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) Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions