thread-pool
thread-pool copied to clipboard
Add support for using this thread pool with coroutines
Note This is on hold until I can ensure that the necessary build flags are properly set in the
dp::thread-pool
for coroutine support. It seems that down-stream projects for coroutines don't set these in the targets properly but I wantdp::thread-pool
to do this.
Changes
- Updated
CPM.cmake
version - Added
schedule()
function to allow for running coroutines on the thread pool - Added batch
enqueue()
function to better compare to coroutine performance