12345678910111213141516171819202122 |
- #ifndef __EVENTTHREAD_H__
- #define __EVENTTHREAD_H__
- #include "Thread.h"
- typedef struct _SEvent* LPSEVENT;
- class CThreadPool;
- class CWorkThread : public CThreadBase
- {
- public:
- CWorkThread();
- virtual ~CWorkThread();
- int AddEventItem(IN CONST LPSEVENT lpEvent, IN CONST CThreadPool* p);
- virtual THREADSTATUS Run();
-
- private:
- LPSEVENT m_lpEvent;
- CThreadPool* m_pThreadPool;
- };
- #endif //#ifndef __EVENTTHREAD_H__
|