HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by to3m | Hacker News Reader
Parent
Full thread
to3m
·
pthread_sigmask always operates on the current thread.
View on HN
ridiculous_fish
·
The usual technique is to set the pthread sigmask and then spawn the thread, to avoid the obvious race. But it's risky to assume that `std::thread` won't manipulate the sigmask by itself.
Reply on news.ycombinator.com