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

Method IsCompleteUnlocked

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

Source from the content-addressed store, hash-verified

1310 }
1311
1312 bool IsCompleteUnlocked(const util::Mutex::Guard& guard) {
1313 return outstanding_requests == 0 &&
1314 (broken || (source_exhausted && num_running_subscriptions == 0 &&
1315 delivered_jobs.empty()));
1316 }
1317
1318 bool MarkTaskFinishedUnlocked(const util::Mutex::Guard& guard) {
1319 --outstanding_requests;

Callers 1

operator()Method · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected