| 554 | } |
| 555 | |
| 556 | void SpawnAddsThreaded(ThreadPool* pool, int nthreads, int nadds, AddTaskFunc add_func, |
| 557 | StopToken stop_token = StopToken::Unstoppable()) { |
| 558 | DoSpawnAddsThreaded(pool, nthreads, nadds, std::move(add_func), |
| 559 | std::move(stop_token)); |
| 560 | } |
| 561 | |
| 562 | void SpawnAddsThreadedAndCancel(ThreadPool* pool, int nthreads, int nadds, |
| 563 | AddTaskFunc add_func, StopSource* stop_source) { |
nothing calls this directly
no test coverage detected