GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-6
Constituent: pbs     Tag: sun-gcc
This graph shows which files directly or indirectly include this file:
Functions | |
int | TBD_initialize (void) |
One time TBD system initialization call. | |
int | TBD_add (TBD_ctl *tbd) |
Estblishes a pointer to the task specific TBD control structure. | |
int | TBD_delete (void) |
Deletes the association a pointer to the task specific TBD control structure. | |
int | TBD_destroy (void) |
Shutdown the TBD facility. | |
void * | TBD_get (void **tbd, int index) |
Returns the value task global data at the specified index. | |
void | TBD_put (void **tbd, int index, void *value) |
Puts the data value into the task specific data area at the specified index. | |
void ** | TBD_locate (void) |
Locates the block of task data. | |
void ** | TBD_glocate (void) |
Locates the block of task data. |
CVS $Id: TBD.h,v 1.3 2004/12/07 16:13:05 russell Exp $
|
Estblishes a pointer to the task specific TBD control structure.
|
|
Deletes the association a pointer to the task specific TBD control structure.
When using tasks created by the TASK facility in PBS, this call is made automatically at task exit. The memory of the managed area is also freed. |
|
Shutdown the TBD facility.
|
|
Returns the value task global data at the specified index.
|
|
Locates the block of task data.
See TBD_locate() for a usage example. |
|
One time TBD system initialization call.
|
|
Locates the block of task data.
The implementation of this function is very efficient of the VXWORKS platform, requiring approximately 2 instructions. It is highly recommended that the inline form of this function be used.
------- void **tbd = TBD__locate (); / * Check for NULL * / if (tbd != NULL) { int org_1 = TBD__get (tbd, DATA_IDX_1); int org_2 = TBD__get (tbd, DATA_IDX_2]; TBD__put (tbd, DATA_IDX_1, 0xdeadbeef); TBD__put (tbd, DATA_IDX_2, 0xabadcafe); } |
|
Puts the data value into the task specific data area at the specified index.
The implementation of this function is very efficient of the VXWORKS platform, requiring approximately 3 instructions. It is highly recommended that the inline form of this function be used. |