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