bpo-35823: subprocess: Fix handling of pthread_sigmask() errors (GH-22944)
Using POSIX_CALL() is incorrect since pthread_sigmask() returns the error number instead of setting errno. Also handle failure of the first call to pthread_sigmask() in the parent process, and explain why we don't handle failure of the second call in a comment.
A
Alexey Izbyshev committed
473db47747bb8bc986d88ad81799bcbd88153ac5
Parent: e01e442
Committed by GitHub <noreply@github.com>
on 10/24/2020, 5:47:38 PM