mythread.h

来自「通用 linux 线程池, 使用 C++ 编写, 具有良好的扩展性.」· C头文件 代码 · 共 19 行

H
19
字号
#include "thread.h"#include <iostream>using namespace std;using namespace util;class MyThread : public Thread{public:	MyThread(void);	~MyThread(void);	void run(void);	void stop(void);private:	bool m_bQuit;	pthread_mutex_t m_mutex;	pthread_cond_t m_exit;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?