![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include <vxWorks.h>
#include <semLib.h>
#include <time.h>
#include <objLib.h>
#include <sysLib.h>
#include <limits.h>
#include "epicsEvent.h"
Go to the source code of this file.
Functions | |
int | sysClkRateGet (void) |
epicsEventId | epicsEventCreate (epicsEventInitialState initialState) |
Create an epicsEvent for use from C code, or return NULL. More... | |
void | epicsEventDestroy (epicsEventId id) |
Destroy an epicsEvent and any resources it holds. More... | |
epicsEventStatus | epicsEventWaitWithTimeout (epicsEventId id, double timeOut) |
Wait an the event or until the specified timeout period is over. More... | |
epicsEventStatus | epicsEventTryWait (epicsEventId id) |
Similar to wait() except that if the event is currenly empty the call will return immediately with status epicsEventWaitTimeout . More... | |
void | epicsEventShow (epicsEventId id, unsigned int level) |
Display information about the semaphore. More... | |
epicsEventId epicsEventCreate | ( | epicsEventInitialState | initialState | ) |
Create an epicsEvent for use from C code, or return NULL.
initialState | Starting state, epicsEventEmpty or epicsEventFull . |
Definition at line 25 of file osdEvent.c.
void epicsEventDestroy | ( | epicsEventId | id | ) |
Destroy an epicsEvent and any resources it holds.
No calls to any epicsEventWait routines can be active when this call is made.
id | The event identifier. |
Definition at line 31 of file osdEvent.c.
void epicsEventShow | ( | epicsEventId | id, |
unsigned int | level | ||
) |
Display information about the semaphore.
id | The event identifier. |
level | An unsigned int for the level of information to be displayed. |
Definition at line 71 of file osdEvent.c.
epicsEventStatus epicsEventTryWait | ( | epicsEventId | id | ) |
Similar to wait() except that if the event is currenly empty the call will return immediately with status epicsEventWaitTimeout
.
id | The event identifier. |
epicsEventWaitTimeout
when the event is empty. Definition at line 60 of file osdEvent.c.
epicsEventStatus epicsEventWaitWithTimeout | ( | epicsEventId | id, |
double | timeOut | ||
) |
Wait an the event or until the specified timeout period is over.
id | The event identifier. |
timeOut | The timeout delay in seconds. |
Definition at line 36 of file osdEvent.c.
int sysClkRateGet | ( | void | ) |