thread-pool
thread-pool copied to clipboard
[FEATURE] Add `wait_for_tasks()` Feature
Description
It would be good to be able to wait for tasks to complete in the thread pool without relying on the destructor. There are use cases where it may be nice to wait for tasks to complete but the dp::thread_pool
will be re-used for more work.