Boost.ASIO: upgrade io_service=>io_context, finally
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_BODY_THREAD_H
|
||||
#define SMO_BODY_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace body {
|
||||
|
||||
struct BodyThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_DIRECTOR_THREAD_H
|
||||
#define SMO_DIRECTOR_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace director {
|
||||
|
||||
struct DirectorThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_MARIONETTE_THREAD_H
|
||||
#define SMO_MARIONETTE_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace mrntt {
|
||||
|
||||
struct MrnttThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service() noexcept;
|
||||
static boost::asio::io_context &io_context() noexcept;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_SIMULATOR_THREAD_H
|
||||
#define SMO_SIMULATOR_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace simulator {
|
||||
|
||||
struct SimulatorThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_SUBCONSCIOUS_THREAD_H
|
||||
#define SMO_SUBCONSCIOUS_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace smo {
|
||||
|
||||
struct SubconsciousThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SMO_WORLD_THREAD_H
|
||||
#define SMO_WORLD_THREAD_H
|
||||
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <spinscale/co/invokers.h>
|
||||
#include <spinscale/co/postingPromise.h>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace smo {
|
||||
|
||||
struct WorldThreadTag
|
||||
{
|
||||
static boost::asio::io_service &io_service();
|
||||
static boost::asio::io_context &io_context();
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user