MCPcopy Create free account
hub / github.com/apache/arrow / UnregisterHandlers

Method UnregisterHandlers

cpp/src/arrow/util/cancel.cc:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 void UnregisterHandlers() {
168 std::lock_guard<std::mutex> lock(mutex_);
169 self_pipe_ptr_.store(nullptr);
170 auto handlers = std::move(saved_handlers_);
171 for (const auto& h : handlers) {
172 ARROW_CHECK_OK(SetSignalHandler(h.signum, h.handler));
173 }
174 }
175
176 ~SignalStopState() {
177 atfork_handler_.reset();

Callers 1

Calls 2

SetSignalHandlerFunction · 0.85
storeMethod · 0.80

Tested by

no test coverage detected