cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
msgpack_rpc::executors::GeneralExecutor::ContextThreadPair Struct Reference

Pair of context and its thread. More...

Collaboration diagram for msgpack_rpc::executors::GeneralExecutor::ContextThreadPair:

Public Member Functions

 ContextThreadPair ()
 Constructor.

Public Attributes

AsioContextType context
 Context.
std::thread thread
 Thread.
asio::executor_work_guard< AsioContextType::executor_type > work_guard
 Work guard.

Detailed Description

Pair of context and its thread.

Definition at line 259 of file general_executor.cpp.

Constructor & Destructor Documentation

◆ ContextThreadPair()

msgpack_rpc::executors::GeneralExecutor::ContextThreadPair::ContextThreadPair ( )
inline

Constructor.

Definition at line 271 of file general_executor.cpp.

Member Data Documentation

◆ context

AsioContextType msgpack_rpc::executors::GeneralExecutor::ContextThreadPair::context

Context.

Definition at line 262 of file general_executor.cpp.

◆ thread

std::thread msgpack_rpc::executors::GeneralExecutor::ContextThreadPair::thread

Thread.

Definition at line 268 of file general_executor.cpp.

◆ work_guard

asio::executor_work_guard<AsioContextType::executor_type> msgpack_rpc::executors::GeneralExecutor::ContextThreadPair::work_guard

Work guard.

Definition at line 265 of file general_executor.cpp.


The documentation for this struct was generated from the following file: