GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32
#include <PBI/Ofs.h>
#include <PBS/L_pubdefs.h>
#include <PBS/RW_pubdefs.h>
#include <PBS/PL_comdefs.h>
Classes | |
struct | _PL_que |
The definition of a single priority que. More... | |
struct | _PL_ctl |
The PL control structure. More... | |
Defines | |
#define | PL_SIZEOF(_nques) |
Computes the number of bytes needed for a PL of _nques. | |
#define | PL_DECLARE(_name, _nques) unsigned char _name[PL_SIZEOF(_nques)] |
Drops enough storage for a PL of _nques. | |
#define | PL_USR_SET(_que, _value) (_que)->usr = (void *)(_value) |
Sets the user defined location within the que. | |
#define | PL_USR_GET(_que) (_que)->usr |
Returns the value in the user defined location within the que. | |
#define | PL_CTL_GET(_que) |
Locates the control block from a given que. |
CVS $Id: PL_pubdefs.h,v 1.5 2011/03/24 23:05:43 apw Exp $
#define PL_CTL_GET | ( | _que | ) |
Value:
Locates the control block from a given que.
_que | Pointer to the target que |
#define PL_DECLARE | ( | _name, | |||
_nques | ) | unsigned char _name[PL_SIZEOF(_nques)] |
Drops enough storage for a PL of _nques.
_name | The name of the PL. | |
_nques | The number of ques |
/ * Drops enough storage for a control structure and 5 ques * / PL_DECLARE (my_pl, 5); status = PL_init ((PL_ctl *)my_pl, PL_K_TYPE_BLOCKING_FIFO_WTO, 5);
#define PL_SIZEOF | ( | _nques | ) |
Value:
Computes the number of bytes needed for a PL of _nques.
_nques | The number of ques |
Example
/ * Drops enough storage for a control structure and 5 ques * / unsigned char my_pl[PL_SIZEOF (5)]; status = PL_init ((PL_ctl *)my_pl, PL_K_TYPE_BLOCKING_FIFO_WTO, 5);
Referenced by FORK_create(), and FORK_fcb_sizeof().
#define PL_USR_GET | ( | _que | ) | (_que)->usr |
Returns the value in the user defined location within the que.
_que | Pointer to the target que |
#define PL_USR_SET | ( | _que, | |||
_value | ) | (_que)->usr = (void *)(_value) |
Sets the user defined location within the que.
_que | Pointer to the target que | |
_value | The value. |