| 515 | } |
| 516 | |
| 517 | void SpawnAdds(ThreadPool* pool, int nadds, AddTaskFunc add_func, |
| 518 | StopToken stop_token = StopToken::Unstoppable()) { |
| 519 | DoSpawnAdds(pool, nadds, std::move(add_func), std::move(stop_token)); |
| 520 | } |
| 521 | |
| 522 | void SpawnAddsAndCancel(ThreadPool* pool, int nadds, AddTaskFunc add_func, |
| 523 | StopSource* stop_source) { |
nothing calls this directly
no test coverage detected