mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
4.44 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
804edc5756
commit
d9666cf046
17
CPP/Windows/Synchronization.cpp
Executable file
17
CPP/Windows/Synchronization.cpp
Executable file
@@ -0,0 +1,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";
|
||||
}
|
||||
|
||||
}}
|
||||
Reference in New Issue
Block a user