In this blog I found a pretty neat example on how to create a simple thread pool using boost::asio. I basically want to use it like this:
#include
I don't see any reason not to do things this way. As a benefit, you can use things like deadline timers which are built on top of boost::asio.