11: _thread_pool( num_threads )
14 _ioc_work.emplace( boost::asio::make_work_guard( _ioc ) );
15 for(
size_t i = 0; i < num_threads; ++i ) {
16 boost::asio::post( _thread_pool, [&ioc = _ioc, name_prefix, i]() {
17 std::string tn = name_prefix +
"-" + std::to_string( i );