1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/other-licenses/7zstub/src/Windows/Synchronization.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +// Windows/Synchronization.cpp 1.5 + 1.6 +#include "StdAfx.h" 1.7 + 1.8 +#include "Synchronization.h" 1.9 + 1.10 +namespace NWindows { 1.11 +namespace NSynchronization { 1.12 + 1.13 +CEvent::CEvent(bool manualReset, bool initiallyOwn, LPCTSTR name, 1.14 + LPSECURITY_ATTRIBUTES securityAttributes) 1.15 +{ 1.16 + if (!Create(manualReset, initiallyOwn, name, securityAttributes)) 1.17 + throw "CreateEvent error"; 1.18 +} 1.19 + 1.20 +}}