This class lets you handle POSIX signals. And these systems, memory corruption doesn't throw an exception but a signal. The Dtk_LinuxSignalHandler class bypasses the signal classic process by attaching an special handler to: SIGINT => Interrupt SIGTERM => Termination SIGSEGV => Segmentation Fault SIGFPE =>Floating Point Exception Its embedded handler just throws the signal number as an exception. More...
Public Member Functions | |
void | BypassSignalHandler () |
this method bypasses the classic signal handler. More... | |
Dtk_LinuxSignalHandler () | |
void | RestoreSignalHandler () |
This method restores the classic signal handler. More... | |
This class lets you handle POSIX signals. And these systems, memory corruption doesn't throw an exception but a signal. The Dtk_LinuxSignalHandler class bypasses the signal classic process by attaching an special handler to: SIGINT => Interrupt SIGTERM => Termination SIGSEGV => Segmentation Fault SIGFPE =>Floating Point Exception Its embedded handler just throws the signal number as an exception.
Dtk_LinuxSignalHandler::Dtk_LinuxSignalHandler | ( | ) |
void Dtk_LinuxSignalHandler::BypassSignalHandler | ( | ) |
this method bypasses the classic signal handler.
void Dtk_LinuxSignalHandler::RestoreSignalHandler | ( | ) |
This method restores the classic signal handler.