Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
void StopSource::RequestStopFromSignal(int signum) {
69
// Only async-signal-safe code allowed here
70
impl_->requested_.store(signum);
71
}
72
73
void StopSource::Reset() {
74
std::lock_guard<std::mutex> lock(impl_->mutex_);
Callers
2
signal_handler
Function · 0.80
ReceiveSignal
Method · 0.80
Calls
1
store
Method · 0.80
Tested by
1
signal_handler
Function · 0.64