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

Method SerialExecutor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45

Tested by

no test coverage detected