Message-Queues beta 1.1
A Message-Queues based Cpp
 
载入中...
搜索中...
未找到
worker.hpp
浏览该文件的文档.
1
3
4#pragma
5#include "muduo/net/EventLoopThread.h"
6#include "../common/logger.hpp"
7#include "../common/helper.hpp"
8#include "../common/threadpool.hpp"
9
10namespace XuMQ
11{
15 {
16 public:
17 using ptr = std::shared_ptr<AsyncWorker>;
18 muduo::net::EventLoopThread _loopthread;
20 };
21}
异步工作线程类
Definition worker.hpp:15
muduo::net::EventLoopThread _loopthread
muduo循环线程
Definition worker.hpp:18
threadpool _threadpool
线程池
Definition worker.hpp:19
std::shared_ptr< AsyncWorker > ptr
异步工作线程管理句柄
Definition worker.hpp:17
Definition threadpool.hpp:16
Definition channel.hpp:22