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