You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread_pool in the most recent Asio version, as seen on Boost 1.87.0, is broken. Example code:
boost::asio::thread_pool pool {};
boost::asio::post(pool, [] {
fmt::println("hello");
});
pool.join();
This will, more often than not, simply not print anything. The root cause here is found in commit 480e88b where thread_pool::thread_pool() was not updated to also set joinable_(true).
The text was updated successfully, but these errors were encountered:
thread_pool
in the most recent Asio version, as seen on Boost 1.87.0, is broken. Example code:This will, more often than not, simply not print anything. The root cause here is found in commit 480e88b where
thread_pool::thread_pool()
was not updated to also setjoinable_(true)
.The text was updated successfully, but these errors were encountered: