📄 nullmutex.cpp
字号:
//**********************************************************************
//
// Copyright (C) 2005-2007 Zhang bao yuan(bolidezhang@gmail.com).
// All rights reserved.
//
// This copy of Socketlib is licensed to you under the terms described
// in the LICENSE.txt file included in this distribution.
//
//**********************************************************************
#include "nullmutex.h"
namespace SYNC
{
inline CNullMutex::CNullMutex()
{
};
inline CNullMutex::~CNullMutex()
{
};
inline DWORD CNullMutex::Wait(DWORD nTimeout)
{
return 0;
};
inline bool CNullMutex::Lock(DWORD nTimeout)
{
return false;
};
inline bool CNullMutex::Lock()
{
return false;
};
inline bool CNullMutex::UnLock()
{
return false;
};
inline bool CNullMutex::TryLock()
{
return false;
};
inline HANDLE CNullMutex::GetHandle() const
{
return NULL;
};
inline bool CNullMutex::Clear()
{
return true;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -