DATAKIT API  V2025.1
Dtk_LinuxSignalHandler Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Dtk_LinuxSignalHandler()

Dtk_LinuxSignalHandler::Dtk_LinuxSignalHandler ( )

Member Function Documentation

◆ BypassSignalHandler()

void Dtk_LinuxSignalHandler::BypassSignalHandler ( )

this method bypasses the classic signal handler.

◆ RestoreSignalHandler()

void Dtk_LinuxSignalHandler::RestoreSignalHandler ( )

This method restores the classic signal handler.