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

Method NeedsRestart

cpp/src/arrow/util/async_generator.h:1774–1776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772 bool TaskIsRunning() const { return task_finished.is_valid(); }
1773
1774 bool NeedsRestart() const {
1775 return !finished && !reading && static_cast<int>(queue.size()) <= q_restart;
1776 }
1777
1778 void DoRestartTask(std::shared_ptr<State> state, util::Mutex::Guard guard) {
1779 // If we get here we are actually going to start a new task so let's create a

Callers 1

operator()Method · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected