I\'m using boost::asio::io_service as a basic thread pool. Some threads get added to io_service, the main thread starts posting handlers, the worker threads start r
boost::asio::io_service
Maybe try lowering the priority of the main thread so that once the worker threads get busy they starve the main thread and the system self limits.