1 #ifndef Protium_SignalCatching_h_
2 #define Protium_SignalCatching_h_
16 static inline void print_stacktrace(
unsigned int stack_depth = 100);
58 #endif //Protium_SignalCatching_h_
static Host & Instance()
Use to get instance.
virtual ~SignalCatchingImplementation()
static SignalCatcher & Instance()
Use to specify objects which lock by class.
Helper struct to create static instances of classes.
SignalCatchingImplementation()
Protium::Singleton::Singleton< SignalCatcher, Protium::Singleton::CreateStatic, Protium::Singleton::DeleteLast, Protium::Threads::StaticLocked > SignalCatcherSingleton
SignalCatchingImplementation & operator=(const SignalCatchingImplementation &)
Defines mutexes and policies to be used by threaded objects.
void signal_callback_handler(int signum)