| 1452 | return Status::OK(); |
| 1453 | } |
| 1454 | void PushProcess(bool value) { |
| 1455 | #ifdef ARROW_ENABLE_THREADING |
| 1456 | process_.Push(value); |
| 1457 | #else |
| 1458 | if (value) { |
| 1459 | ProcessNonThreaded(); |
| 1460 | } else if (!process_task_.is_finished()) { |
| 1461 | EndFromSingleThread(); |
| 1462 | } |
| 1463 | #endif |
| 1464 | } |
| 1465 | |
| 1466 | #ifndef ARROW_ENABLE_THREADING |
| 1467 | bool ProcessNonThreaded() { |
nothing calls this directly
no test coverage detected