MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / FatalConditionHandler

Method FatalConditionHandler

test/catch.hpp:12010–12021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12008}
12009
12010FatalConditionHandler::FatalConditionHandler()
12011{
12012 isSet = true;
12013 // 32k seems enough for Catch to handle stack overflow,
12014 // but the value was found experimentally, so there is no strong guarantee
12015 guaranteeSize = 32 * 1024;
12016 exceptionHandlerHandle = nullptr;
12017 // Register as first handler in current chain
12018 exceptionHandlerHandle = AddVectoredExceptionHandler(1, handleVectoredException);
12019 // Pass in guarantee size to be filled
12020 SetThreadStackGuarantee(&guaranteeSize);
12021}
12022
12023void FatalConditionHandler::reset()
12024{

Callers

nothing calls this directly

Calls 1

sigactionClass · 0.70

Tested by

no test coverage detected