⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thdpool.h

📁 MDF监控源码2
💻 H
字号:
// ThdPool.h: interface for the CThdPool class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_THDPOOL_H__47DC3262_A705_4FA1_A5FA_9B80F786E607__INCLUDED_)
#define AFX_THDPOOL_H__47DC3262_A705_4FA1_A5FA_9B80F786E607__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Afxtempl.h"
#include "System.h"


//##ModelId=44B6F8830203
class CThdPool  
{
public:
	//##ModelId=44B6F8830204
	int AddCommItem(CString strBuf,CString strSource,LPVOID pSock);
	//##ModelId=44B6F8830215
	int AddCommItem(sCommEQ* pEQTemp , sCommPack InPack , CString strBuf , CString strSource);
	//##ModelId=44B6F883021A
	BOOL AddCommItem(UCHAR *buf, int len , CString strSource, int nType, LPVOID pSock) ;
	//##ModelId=44B6F8830227
	int GetCurThdCount();
	//##ModelId=44B6F8830228
	void RemoveItem(int nIndex);
	//##ModelId=44B6F8830233
	CThdPool();
	//##ModelId=44B6F8830234
	virtual ~CThdPool();
	//##ModelId=44B6F8830237
	CArray < sCommItem , sCommItem > m_ThdArray ;
private:
	//##ModelId=44B6F883023B
	int m_CurrThreadCount ;
	//##ModelId=44B6F8830242
	HANDLE hEvent ;
};

#endif // !defined(AFX_THDPOOL_H__47DC3262_A705_4FA1_A5FA_9B80F786E607__INCLUDED_)

⌨️ 快捷键说明

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