GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

RW.c.px-xxx-xxx File Reference

Defines the POSIX platform dependent inline Resource Wait (RW) routines. More...


Functions

int RW_init (RW_ctl *rw, RW_type type)
 Initializes the RW control structure.
int RW_destroy (RW_ctl *rw)
 Destroys the data structures associate with an RW handle.


Detailed Description

Defines the POSIX platform dependent inline Resource Wait (RW) routines.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: RW.c.px-xxx-xxx,v 1.2 2003/08/20 17:37:06 russell Exp $

Function Documentation

void RW_destroy ( RW_ctl rw  ) 

Destroys the data structures associate with an RW handle.

Parameters:
rw Pointer to the RW handle to destroy

References _RW_waitctl_u::bf, _RW_ctl::cond, _RW_ctl::mutex, and _RW_ctl::waiting.

Referenced by FORK_destroy(), LI_destroy(), PL_destroy(), QI_destroy(), RNG_destroy(), and RWF_destroy().

int RW_init ( RW_ctl rw,
RW_type  type 
)

Initializes the RW control structure.

Parameters:
rw The RW structure to initialize
type The type of RW to create, see RW_type for details.

References _RW_ctl::cond, _RW_ctl::mutex, _RW_waitctl_u::si, and _RW_ctl::waiting.

Referenced by FORK_create(), LI_init(), PL_init(), QI_init(), RNG_init(), and RWF_init().


Generated on Mon Aug 1 14:54:43 2011 by  doxygen 1.5.8