GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-11
Constituent: pbs     Tag: linux-gcc
#include "PBS/RW_pubdefs.h"
#include "PBS/RW.h"
#include "PBS/RW.ih"
#include "RW_tmr.h"
Include dependency graph for RW_tmr.ih:
This graph shows which files directly or indirectly include this file:
Defines | |
#define | _OK ATTR_UNUSED_OK |
Abbrev for ATTR_UNUSED_OK, undef'd in this file. | |
Functions | |
RW__EXP_PROTO RW_state | RW__tmr_init (RW_tmr *tmr, RW_ctl *rw, const TOC *toc) _OK |
Initializes a Resource Wait timer based on the toc. If TOC is TOC_NOWAIT or TOV_FOREVER, no timer is initialized. | |
RW__EXP_PROTO RW_state | RW__tmr_lock (RW_tmr *tmr, RW_state state) _OK |
Locks the resource. | |
RW__EXP_PROTO RW_state | RW__tmr_wait (RW_tmr *tmr, RW_state state) _OK |
Waits until the timer expires or another task calls RW__tmr_wake indicating that another attempt be made to allocate the resource. | |
RW__EXP_PROTO RW_state | RW__tmr_unlock (RW_tmr *tmr, RW_state state) _OK |
Unlocks the resource. | |
RW__EXP_PROTO RW_state | RW__tmr_destroy (RW_tmr *tmr, RW_state state) _OK |
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,v 1.4 2005/10/01 01:00:13 russell Exp $
|
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.
|
|
Initializes a Resource Wait timer based on the toc. If TOC is TOC_NOWAIT or TOV_FOREVER, no timer is initialized.
|
|
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.
|