Advertisement

boost::asio序列3: execution context

阅读量:
函数名称
void notify_fork(fork_event event) enum fork_event { /// Notify the context that the process is about to fork. fork_prepare, /// Notify the context that the process has forked and is the parent. fork_parent, /// Notify the context that the process has forked and is the child. fork_child };
template friend Service& use_service(execution_context& e) 获取execution_context对应的Service
template friend Service& use_service(io_context& ioc) 获取execution_context对应的Service
template <typename Service, typename... Args> friend Service&

全部评论 (0)

还没有任何评论哟~