In the code base I'm working on, flow control is done using std::threadand related objects, not directly using pthread.
However, I could not find the C ++ equivalent pthread_sigmask, so I wonder if there is a standard C ++ way to block signals and therefore process signals sequentially in a multi-threaded application.
In particular, I am wondering if there is a way to do it here , using c++11without#include <pthread.h>
source
share