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

Method SerialExecutor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45

Tested by

no test coverage detected