MCPcopy Create free account
hub / github.com/apache/impala / StopUserSignalHandlerThread

Method StopUserSignalHandlerThread

be/src/kudu/util/minidump.cc:293–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void MinidumpExceptionHandler::StopUserSignalHandlerThread() {
294 user_signal_handler_thread_running_.store(false, std::memory_order_relaxed);
295 std::atomic_thread_fence(std::memory_order_release); // Store before signal.
296 // Send SIGUSR1 signal to thread, which will wake it up.
297 kill(getpid(), SIGUSR1);
298 user_signal_handler_thread_->Join();
299}
300
301void MinidumpExceptionHandler::RunUserSignalHandlerThread() {
302 sigset_t signals = GetSigset(SIGUSR1);

Callers

nothing calls this directly

Calls 2

storeMethod · 0.45
JoinMethod · 0.45

Tested by

no test coverage detected