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

Method Finish

cpp/src/arrow/util/thread_pool.cc:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void SerialExecutor::Finish() {
186 auto state = state_;
187 {
188 std::lock_guard<std::mutex> lk(state->mutex);
189 state->finished = true;
190 }
191 state->wait_for_tasks.notify_one();
192}
193
194#else // ARROW_ENABLE_THREADING
195Status SerialExecutor::SpawnReal(TaskHints hints, FnOnce<void()> task,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected