diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-04-23 19:42:26 (GMT) |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2018-04-23 19:42:26 (GMT) |
commit | 75a3e3d5bc0be1ce41289b661e7c53039cf3d5ba (patch) | |
tree | 15231e534f2f08c4532b962c87b62d26177d1739 /Python/compile.c | |
parent | 9fc998d761591f2741d8e94f5b3009c56ae83882 (diff) | |
download | cpython-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