44 #include "libComAPI.h"
52 epicsEventWaitTimeout,
57 #define epicsEventWaitStatus epicsEventStatus
59 #define epicsEventWaitOK epicsEventOK
61 #define epicsEventWaitError epicsEventError
107 bool wait (
double timeout );
117 void show (
unsigned level )
const;
119 class invalidSemaphore;
175 #define epicsEventSignal(ID) epicsEventMustTrigger(ID)
223 #include "osdEvent.h"
LIBCOM_API epicsEventStatus epicsEventTryWait(epicsEventId id)
Similar to wait() except that if the event is currently empty the call will return immediately with s...
LIBCOM_API epicsEventStatus epicsEventWait(epicsEventId id)
Wait for an event.
LIBCOM_API void epicsEventDestroy(epicsEventId id)
Destroy an epicsEvent and any resources it holds.
epicsEventInitialState
Possible initial states of a new epicsEvent.
LIBCOM_API epicsEventStatus epicsEventWaitWithTimeout(epicsEventId id, double timeout)
Wait an the event or until the specified timeout period is over.
LIBCOM_API void epicsEventMustWait(epicsEventId id)
Wait for an event (see epicsEventWait()).
LIBCOM_API void epicsEventShow(epicsEventId id, unsigned int level)
Display information about the semaphore.
epicsEventStatus
Return status from several C API routines.
void signal()
Signal is a synonym for trigger().
LIBCOM_API epicsEventId epicsEventMustCreate(epicsEventInitialState initialState)
Create an epicsEvent for use from C code.
LIBCOM_API epicsEventId epicsEventCreate(epicsEventInitialState initialState)
Create an epicsEvent for use from C code, or return NULL.
LIBCOM_API epicsEventStatus epicsEventTrigger(epicsEventId id)
Trigger an event i.e. ensures the next or current call to wait completes.
struct epicsEventOSD * epicsEventId
An identifier for an epicsEvent for use with the C API.
LIBCOM_API void epicsEventMustTrigger(epicsEventId id)
Trigger an event.