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

Method FatalConditionHandler

tutorials/external/catch.hpp:8709–8719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8707 }
8708
8709 FatalConditionHandler::FatalConditionHandler() {
8710 isSet = true;
8711 // 32k seems enough for Catch to handle stack overflow,
8712 // but the value was found experimentally, so there is no strong guarantee
8713 guaranteeSize = 32 * 1024;
8714 exceptionHandlerHandle = nullptr;
8715 // Register as first handler in current chain
8716 exceptionHandlerHandle = AddVectoredExceptionHandler(1, handleVectoredException);
8717 // Pass in guarantee size to be filled
8718 SetThreadStackGuarantee(&guaranteeSize);
8719 }
8720
8721 void FatalConditionHandler::reset() {
8722 if (isSet) {

Callers

nothing calls this directly

Calls 1

sigactionClass · 0.70

Tested by

no test coverage detected