summaryrefslogtreecommitdiffstats
path: root/other-licenses/7zstub/src/Windows/Synchronization.cpp
blob: 942d868609189f69b6563baf9a854f949c60649d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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";
}

}}