| 116 | #endif |
| 117 | |
| 118 | SerialExecutor::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 | |
| 125 | SerialExecutor::~SerialExecutor() { |
| 126 | #ifndef ARROW_ENABLE_THREADING |
nothing calls this directly
no test coverage detected