📄 scopeguardmutex.h
字号:
#ifndef _SCOPEGUARDMUTEX_INCLUDED
#define _SCOPEGUARDMUTEX_INCLUDED
#include <windows.h>
/********************************************
Release the mutex when the object is destroyed.
Guaranty that the mutex will be released...
********************************************/
class ScopeGuardMutex
{
class Mutex *m_pMutex;
public:
ScopeGuardMutex(Mutex *pMutex);
~ScopeGuardMutex();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -