Boost.ASIO: update io_service=>io_context

This commit is contained in:
2026-05-30 11:57:57 -04:00
parent 0afa3e16b8
commit 6df9407e65
16 changed files with 116 additions and 101 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
#include <utility>
#include <vector>
#include <boost/asio/io_service.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/post.hpp>
#include <spinscale/componentThread.h>
@@ -486,7 +486,7 @@ struct Group
* would be impossible.
*
* So we should be able to call resume() directly here without
* post()ing to ComponentThread::getSelf()->getIoService().
* post()ing to ComponentThread::getSelf()->getIoContext().
*
* EXPLANATION:
* However, in order to ensure that we keep this adapter coro
@@ -494,7 +494,7 @@ struct Group
* directly calling the handle.
*/
boost::asio::post(
sscl::ComponentThread::getSelf()->getIoService(),
sscl::ComponentThread::getSelf()->getIoContext(),
groupAwaiterSchedHandleToWake);
}