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

Constituent: pbs     Tag: linux-gcc


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:


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.

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.


Generated on Wed Dec 20 05:03:55 2006 by  doxygen 1.4.4