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

Method BackgroundReader

cpp/src/arrow/io/file_benchmark.cc:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84 protected:
85 explicit BackgroundReader(int fd) : fd_(fd), total_bytes_(0) {
86 file_handle_ = reinterpret_cast<HANDLE>(_get_osfhandle(fd));
87 ARROW_CHECK_NE(file_handle_, INVALID_HANDLE_VALUE);
88 event_ =
89 CreateEvent(nullptr, /* bManualReset=*/TRUE, /* bInitialState=*/FALSE, nullptr);
90 ARROW_CHECK_NE(event_, INVALID_HANDLE_VALUE);
91 }
92
93 void LoopReading() {
94 const HANDLE handles[] = {file_handle_, event_};

Callers

nothing calls this directly

Calls 1

CreatePipeFunction · 0.85

Tested by

no test coverage detected