函数名称 | ||
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 <typename Service> friend Service& use_service(execution_context& e) |
获取execution_context对应的Service | |
template <typename Service> friend Service& use_service(io_context& ioc) |
获取execution_context对应的Service | |
template <typename Service, typename... Args> friend Service& make_service(execution_context& e, |
boost::asio序列3: execution_context
最新推荐文章于 2023-04-20 19:03:23 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)