thread-pool icon indicating copy to clipboard operation
thread-pool copied to clipboard

Add support for using this thread pool with coroutines

Open DeveloperPaul123 opened this issue 2 years ago • 1 comments

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 want dp::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

DeveloperPaul123 avatar Sep 12 '22 16:09 DeveloperPaul123