MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / handleSignal

Method handleSignal

tests/catch.hpp:8536–8547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8534 };
8535
8536 void FatalConditionHandler::handleSignal( int sig ) {
8537 char const * name = "<unknown signal>";
8538 for (auto const& def : signalDefs) {
8539 if (sig == def.id) {
8540 name = def.name;
8541 break;
8542 }
8543 }
8544 reset();
8545 reportFatal(name);
8546 raise( sig );
8547 }
8548
8549 FatalConditionHandler::FatalConditionHandler() {
8550 isSet = true;

Callers

nothing calls this directly

Calls 1

reportFatalFunction · 0.85

Tested by

no test coverage detected