?? cmclcritsec.h
字號:
//
// FILE: CMclCritSec.h
//
// Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring
//
/////////////////////////////////////////////////////////////////////////
#ifndef __CMCLCRITSEC_H__
#define __CMCLCRITSEC_H__
#include "CMclGlobal.h"
class CMclCritSec {
private:
CRITICAL_SECTION m_CritSec;
public:
// constructor creates a CRITICAL_SECTION inside
// the C++ object...
CMclCritSec(void);
// destructor...
virtual ~CMclCritSec();
// enter the critical section...
void Enter(void);
// leave the critical section...
void Leave(void);
// return a pointer to the internal
// critical section...
CRITICAL_SECTION *GetCritSec(void);
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -