| 183 | } |
| 184 | |
| 185 | void SerialExecutor::Finish() { |
| 186 | auto state = state_; |
| 187 | { |
| 188 | std::lock_guard<std::mutex> lk(state->mutex); |
| 189 | state->finished = true; |
| 190 | } |
| 191 | state->wait_for_tasks.notify_one(); |
| 192 | } |
| 193 | |
| 194 | #else // ARROW_ENABLE_THREADING |
| 195 | Status SerialExecutor::SpawnReal(TaskHints hints, FnOnce<void()> task, |
nothing calls this directly
no outgoing calls
no test coverage detected