csemaphore.cpp
来自「可以实现对邮件的加密解密以及签名」· C++ 代码 · 共 30 行
CPP
30 行
/*____________________________________________________________________________
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 + =
减小字号Ctrl + -
显示快捷键?