GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-5

Constituent: pbs     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

PL.c File Reference

Implements the callable interface for the PL routines. More...

#include "PBS/PL.h"
#include "PBS/L.ih"
#include "PBS/L_protos.h"
#include "PBS/RW_protos.h"

Include dependency graph for PL.c:

Include dependency graph

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.


Detailed Description

Implements the callable interface for the PL routines.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: PL.c,v 1.4 2004/05/12 16:19:04 russell Exp $

This defines the callable interface for the Priority List routines.


Function Documentation

int PL_destroy PL_ctl pl  ) 
 

Destroys the data structures associate with a PL.

Parameters:
pl Pointer to the PL to destroy.
This routine frees any resources the PL list gathered when it was initialized. The actual resources released depends on both the platform and whether blocking and timeouts were requested.

Here is the call graph for this function:

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.

Parameters:
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
Return values:
0,Success 
ENOMEM,Insufficient memory
ENOTSUP,Type not supported.

Here is the call graph for this function:


Generated on Tue Sep 13 21:39:44 2005 by doxygen 1.3.3