Thread pool using boost asio
In short, you need to wrap the user’s provided task with another function that will: Invoke the user function or callable object. Lock the mutex and decrement the counter. I may not be understanding all the requirements for this thread pool. Thus, for clarity, here is an explicit list as to what I believe are … Read more