MCPcopy Create free account
hub / github.com/RenderKit/embree / handleSignal

Method handleSignal

tutorials/external/catch.hpp:8762–8773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8760 };
8761
8762 void FatalConditionHandler::handleSignal( int sig ) {
8763 char const * name = "<unknown signal>";
8764 for (auto const& def : signalDefs) {
8765 if (sig == def.id) {
8766 name = def.name;
8767 break;
8768 }
8769 }
8770 reset();
8771 reportFatal(name);
8772 raise( sig );
8773 }
8774
8775 FatalConditionHandler::FatalConditionHandler() {
8776 isSet = true;

Callers

nothing calls this directly

Calls 1

reportFatalFunction · 0.85

Tested by

no test coverage detected