MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / CrashHandler

Function CrashHandler

src/platform/linux/live_playtime.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87static sigjmp_buf g_jmp;
88static volatile sig_atomic_t g_inCall = 0;
89static void CrashHandler(int sig) {
90 if (g_inCall) siglongjmp(g_jmp, sig);
91 raise(sig);
92}
93class CallGuard {
94public:
95 CallGuard() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected