📄 csemaphore.cpp
字号:
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: CSemaphore.cpp,v 1.2 2002/08/06 20:10:37 dallen Exp $
____________________________________________________________________________*/
#include "pgpClassesConfig.h"
#include "CSemaphore.h"
#include "CSemaphoreImp.h"
_USING_PGP
// Class CSemaphore member functions
DEFINE_IMPHOST(CSemaphore, SemaphoreImp, CPFLImpFactory)
PGPUInt32
CSemaphore::Wait(PGPInt32 msTimeout)
{
return Imp()->Wait(msTimeout);
}
void
CSemaphore::Signal(PGPUInt32 count)
{
Imp()->Signal(count);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -