![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include <stdio.h>
#include <rtems.h>
#include <rtems/error.h>
#include "epicsEvent.h"
#include "epicsThread.h"
#include "errlog.h"
Go to the source code of this file.
Macros | |
#define | __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1 |
#define | SEMSTAT(i) |
Functions | |
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 | epicsEventTrigger (epicsEventId id) |
Trigger an event i.e. ensures the next or current call to wait completes. More... | |
epicsEventStatus | epicsEventWait (epicsEventId id) |
Wait for an event. 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... | |
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 1 |
Definition at line 19 of file osdEvent.c.
#define SEMSTAT | ( | i | ) |
Definition at line 37 of file osdEvent.c.
epicsEventId epicsEventCreate | ( | epicsEventInitialState | initialState | ) |
Create an epicsEvent for use from C code, or return NULL.
initialState | Starting state, epicsEventEmpty or epicsEventFull . |
Definition at line 44 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 87 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 163 of file osdEvent.c.
epicsEventStatus epicsEventTrigger | ( | epicsEventId | id | ) |
Trigger an event i.e. ensures the next or current call to wait completes.
id | The event identifier. |
Definition at line 98 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 147 of file osdEvent.c.
epicsEventStatus epicsEventWait | ( | epicsEventId | id | ) |
Wait for an event.
id | The event identifier. |
Definition at line 111 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 124 of file osdEvent.c.