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

Method Init

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

Source from the content-addressed store, hash-verified

69 /// \return the fd of the write side of the pipe.
70 template <typename Fn>
71 arrow::Result<std::shared_ptr<SelfPipe>> Init(Fn handler) {
72 ARROW_ASSIGN_OR_RAISE(self_pipe_, SelfPipe::Make(/*signal_safe=*/true));
73 handle_signals_ = std::thread(handler, self_pipe_);
74 return self_pipe_;
75 }
76
77 Status Shutdown() {
78 RETURN_NOT_OK(self_pipe_->Shutdown());

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.70
MakeFunction · 0.50

Tested by

no test coverage detected