GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
#include <IPBS/PL.h>
#include <IPBS/L.ih>
#include <IPBS/L_protos.h>
#include <IPBS/RW_protos.h>
Functions | |
| int | PL_init (PL_ctl *pl, PL_type type, int nques) |
| Initializes the list head of a doubly linked list to an empty list of the specified type. | |
| int | PL_destroy (PL_ctl *pl) |
| Destroys the data structures associate with a PL. | |
CVS $Id: PL.c,v 1.2 2011/03/25 21:14:42 saxton Exp $
This defines the callable interface for the Priority List routines.
| int PL_destroy | ( | PL_ctl * | pl | ) |
Destroys the data structures associate with a PL.
| pl | Pointer to the PL to destroy. |
References _PL_ctl::rw, and RW_destroy().
Referenced by FORK_destroy().
Initializes the list head of a doubly linked list to an empty list of the specified type.
| pl | Pointer to the Priority Ques control structure to initialize. | |
| type | The type blocking/waiting, see PL_type | |
| nques | The number of ques to support |
| 0,Success | ||
| ENOMEM,Insufficient | memory | |
| ENOTSUP,Type | not supported. |
References _PL_que::head, _PL_que::id, L_init(), _PL_ctl::mactive, _PL_ctl::mcfg, _PL_ctl::nques, _PL_que::pl, PL_NLIST, _PL_ctl::ques, _PL_ctl::rw, and RW_init().
Referenced by FORK_create().
1.5.8