Launch threads to run tasks asynchronously. Launch specific number of threads if @a worker_threads is provided, otherwise use all available hardware concurrency.
| 48 | /// threads if @a worker_threads is provided, otherwise use all available |
| 49 | /// hardware concurrency. |
| 50 | void AsyncRun(size_t worker_threads) { |
| 51 | _workers.CreateThreads(worker_threads, [this]() { Run(); }); |
| 52 | } |
| 53 | |
| 54 | /// @copydoc AsyncRun(size_t) |
| 55 | void AsyncRun() { |
nothing calls this directly
no test coverage detected