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

Method RequestStopFromSignal

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

Source from the content-addressed store, hash-verified

66}
67
68void StopSource::RequestStopFromSignal(int signum) {
69 // Only async-signal-safe code allowed here
70 impl_->requested_.store(signum);
71}
72
73void StopSource::Reset() {
74 std::lock_guard<std::mutex> lock(impl_->mutex_);

Callers 2

signal_handlerFunction · 0.80
ReceiveSignalMethod · 0.80

Calls 1

storeMethod · 0.80

Tested by 1

signal_handlerFunction · 0.64