Centos – Is calling pthread_sigmask before creating a thread thread-safe
I handle my thread spawning (C++17, CentOS) by blocking all signals in the parent thread beforehand, then starting the new thread (gets copy of signal mask) and then restoring the old signal mask in the parent. I do not want…