vendredi 1 décembre 2017

Handle signals in C++11 from all threads

I need to register a signal handler in main which is able to handle signals. The signal function is not able to handle that but I don't want to use the signal function inside every thread.

Is there a clean way to do that when using native C++11 threads.

Aucun commentaire:

Enregistrer un commentaire