commit | 25038ecfb665bef641abf8cb61afff7505b0e008 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <pitrou@free.fr> | Mon Apr 23 20:53:33 2018 +0200 |
committer | GitHub <noreply@github.com> | Mon Apr 23 20:53:33 2018 +0200 |
tree | d0533ec3997b74154bfbae9ab06404094086f596 | |
parent | c2d384dbd7c6ed9bdfaac45f05b463263c743ee7 [diff] |
bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) 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.