GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32
#include <PBS/PL.h>
#include <PBS/L.ih>
#include <PBS/L_protos.h>
#include <PBS/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.5 2011/03/24 23:05:46 apw 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().