4 #include "g_mthread_ISyncObject.h"
6 #if G_AUTOPTION_ON_WINDOWS && !G_OPTION_HIDE_INCOMPATIBLE
13 enum WinEventResetMode_t
19 class G_LIB_ITEM WinEvent :
public ISyncObject
23 WinEvent (
const char* name , WinEventResetMode_t = g_auto_reset , NamedSyncObjectCreationOptions_t aCreationOptions = g_create_always );
25 WinEvent ( WinEventResetMode_t = g_auto_reset );
29 virtual bool wait ( GTimeoutSec_t aTimeOutSec );
30 virtual void wait ( );
31 virtual bool tryWait ( );
33 virtual void reset ( );
35 WinEventResetMode_t getResetMode ( )
const {
return mResetMode; }
38 WinEventResetMode_t mResetMode;
Definition: g.mthread.ThreadSimpleEvent.h:5