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

Method SerialExecutor

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

Source from the content-addressed store, hash-verified

117#endif
118
119SerialExecutor::SerialExecutor() : state_(std::make_shared<State>()) {
120#ifndef ARROW_ENABLE_THREADING
121 GetSerialExecutorGlobalState()->all_executors.insert(this);
122 state_->max_tasks_running = 1;
123#endif
124}
125
126SerialExecutor::~SerialExecutor() {
127#ifndef ARROW_ENABLE_THREADING

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45

Tested by

no test coverage detected