diff options
Diffstat (limited to 'Windows/Synchronization.cpp')
-rwxr-xr-x | Windows/Synchronization.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Windows/Synchronization.cpp b/Windows/Synchronization.cpp new file mode 100755 index 00000000..64b811da --- /dev/null +++ b/Windows/Synchronization.cpp @@ -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"; +} + +}} |