MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / signal_handler

Function signal_handler

tests/fuzztests/fuzztests.cpp:672–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672extern "C" void signal_handler(int signal)
673{
674 on_signal(signal);
675 if (signal_handler_t handler_fn = g_prev_sigsegv.load(std::memory_order_relaxed)) {
676 handler_fn(signal);
677 }
678 else {
679 std::exit(signal);
680 }
681}
682
683#ifdef _WIN32
684LONG CALLBACK se_handler(PEXCEPTION_POINTERS info)

Callers

nothing calls this directly

Calls 2

on_signalFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected