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

Method DoHandleSignal

cpp/src/arrow/flight/server.cc:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 void DoHandleSignal(int signum) {
117 got_signal_ = signum;
118
119 // Send dummy payload over self-pipe
120 self_pipe_->Send(/*payload=*/0);
121 }
122
123 static void WaitForSignals(std::shared_ptr<SelfPipe> self_pipe) {
124 // Wait for a signal handler to wake up the pipe

Callers 1

HandleSignalMethod · 0.45

Calls 1

SendMethod · 0.80

Tested by

no test coverage detected