Files
entropy/pylzma/7zip/OS/Synchronization.cpp
2009-04-02 13:45:25 +02:00

18 lines
353 B
C++

// Windows/Synchronization.cpp
#include "StdAfx.h"
#include "Synchronization.h"
namespace NWindows {
namespace NSynchronization {
CEvent::CEvent(bool manualReset, bool initiallyOwn, LPCTSTR name,
LPSECURITY_ATTRIBUTES securityAttributes)
{
if (!Create(manualReset, initiallyOwn, name, securityAttributes))
throw "CreateEvent error";
}
}}