testthread.h

来自「Linux 下的线程池的源代码。很好用!」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef _WORKERTHREAD_H_#define _WORKERTHREAD_H_#include "Thread.h"#include "Job.h"#include "../sync/sync.h"/************************************************************** *For class CThread is an abstract class,it can't be instantiated *class CWorkerThread is the actual thread that run the job,but * **************************************************************/class CTestThread:public CThread{protected:public:    CCondition   m_WorkCond;    CThreadMutex m_WorkMutex;      CTestThread();    virtual ~CTestThread();        void Run();     };#endif

⌨️ 快捷键说明

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