GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-10
Constituent: pbs     Tag: sun-gcc
#include <pthread.h>
#include <errno.h>
Include dependency graph for RW_tmr.ih.px-xxx-xxx:
Defines | |
#define | RW_TMR_PINIT(rw_tmr) |
Initializes the platform specific piece of the RW_tmr structure. | |
Functions | |
RW__EXP_FNC RW_state | RW__tmr_lock (RW_tmr *tmr, RW_state state) |
Locks the resource. | |
RW__EXP_FNC RW_state | RW__tmr_wait (RW_tmr *tmr, RW_state state) |
Waits until the timer expires or another task calls RW__tmr_wake indicating that another attempt be made to allocate the resource. | |
RW__EXP_FNC RW_state | RW__tmr_unlock (RW_tmr *tmr, RW_state state) |
Unlocks the resource. | |
RW__EXP_FNC RW_state | RW__tmr_destroy (RW_tmr *tmr, RW_state state) |
Destroys the tmr RW handle. This should be called before exiting the routine doing the allocation, since it will cleanup any outstanding timers among other things. |
CVS $Id: RW_tmr.ih.px-xxx-xxx,v 1.3 2004/05/12 16:19:04 russell Exp $
|
Initializes the platform specific piece of the RW_tmr structure.
|
|
Destroys the tmr RW handle. This should be called before exiting the routine doing the allocation, since it will cleanup any outstanding timers among other things.
|
|
Locks the resource.
|
|
Unlocks the resource.
|
|
Waits until the timer expires or another task calls RW__tmr_wake indicating that another attempt be made to allocate the resource.
|