windows-nt/Source/XPSP1/NT/base/fs/sis/groveler/event.h

54 lines
478 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
event.h
Abstract:
SIS Groveler sync event class header
Authors:
John Douceur, 1998
Environment:
User Mode
Revision History:
--*/
#ifndef _INC_EVENT
#define _INC_EVENT
class SyncEvent
{
public:
SyncEvent(
bool initial_state,
bool manual_reset);
~SyncEvent();
bool set();
bool reset();
bool wait(
unsigned int timeout);
private:
HANDLE event_handle;
};
#endif /* _INC_EVENT */