◆ ErrorSignalHandler()
| Scroom::Utils::Detail::ErrorSignalHandler::ErrorSignalHandler |
( |
| ) |
|
|
noexcept |
◆ handler()
| void Scroom::Utils::Detail::ErrorSignalHandler::handler |
( |
int |
sig | ) |
|
|
staticprivate |
80 std::cerr << __FILE__ <<
":" << __LINE__ <<
": Entering signal handler" << std::endl;
82 std::string_view sigName;
99 std::string_view
const sigName = strsignal(sig);
101 std::cerr <<
"PROGRAM DEFECTIVE (TERMINATED BY SIGNAL): " << sigName << std::endl;
103 std::cerr << std::endl;
104 std::cerr << __FILE__ <<
":" << __LINE__ <<
": Leaving signal handler" << std::endl;
105 std::cerr << std::flush;
108 signal(sig, SIG_DFL);
Referenced by Scroom::Utils::Detail::abort(), and ErrorSignalHandler().
◆ abort
◆ isHandlerActive
| volatile sig_atomic_t Scroom::Utils::Detail::ErrorSignalHandler::isHandlerActive = 0 |
|
staticprivate |
The documentation for this class was generated from the following file: