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

Method GetNumTasks

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

Source from the content-addressed store, hash-verified

141}
142
143int SerialExecutor::GetNumTasks() {
144 auto state = state_;
145 return static_cast<int>(state_->task_queue.size());
146}
147
148#ifdef ARROW_ENABLE_THREADING
149Status SerialExecutor::SpawnReal(TaskHints hints, FnOnce<void()> task,

Callers 2

TEST_PFunction · 0.80
TEST_FFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

TEST_PFunction · 0.64
TEST_FFunction · 0.64