cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
general_executor.cpp File Reference

Definition of GeneralExecutor class. More...

#include <atomic>
#include <cstdlib>
#include <exception>
#include <functional>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <thread>
#include <utility>
#include <vector>
#include <asio/executor_work_guard.hpp>
#include "msgpack_rpc/common/msgpack_rpc_exception.h"
#include "msgpack_rpc/common/status_code.h"
#include "msgpack_rpc/config/executor_config.h"
#include "msgpack_rpc/executors/asio_context_type.h"
#include "msgpack_rpc/executors/i_async_executor.h"
#include "msgpack_rpc/executors/operation_type.h"
#include "msgpack_rpc/logging/logger.h"
Include dependency graph for general_executor.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  msgpack_rpc::executors::GeneralExecutor::ContextThreadPair
 Pair of context and its thread. More...
class  msgpack_rpc::executors::GeneralExecutor
 Class of general-purpose executors. More...

Namespaces

namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::executors
 Namespace of executors to process asynchronous tasks.

Functions

std::shared_ptr< IAsyncExecutormsgpack_rpc::executors::create_executor (std::shared_ptr< logging::Logger > logger, const config::ExecutorConfig &config)
 Create an executor.

Detailed Description

Definition of GeneralExecutor class.

Definition in file general_executor.cpp.