MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / sig_handler

Method sig_handler

src/backward.h:4322–4333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4320 __attribute__((noreturn))
4321# endif
4322 static void
4323 sig_handler(int signo, siginfo_t* info, void* _ctx)
4324 {
4325 handleSignal(signo, info, _ctx);
4326
4327 // try to forward the signal.
4328 raise(info->si_signo);
4329
4330 // terminate the process immediately.
4331 puts("watf? exit");
4332 _exit(EXIT_FAILURE);
4333 }
4334};
4335
4336#endif // BACKWARD_SYSTEM_LINUX || BACKWARD_SYSTEM_DARWIN

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected