MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / emplace_handler

Function emplace_handler

libminifi/src/utils/BackTrace.cpp:158–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156#endif
157
158void emplace_handler() {
159#ifdef HAS_EXECINFO
160 struct sigaction sa{};
161 sigfillset(&sa.sa_mask);
162 sa.sa_flags = SA_SIGINFO;
163 sa.sa_sigaction = handler;
164 sigaction(SIGUSR2, &sa, nullptr);
165#endif
166}

Callers 1

getBackTraceMethod · 0.85

Calls 1

sigactionClass · 0.70

Tested by

no test coverage detected