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

Constituent: pbs     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MTX.ih.px-xxx-xxx File Reference

Simple mutex, POSIX platform dependent inline implementation. More...

#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include <pthread.h>

Include dependency graph for MTX.ih.px-xxx-xxx:

Include dependency graph

Functions

MTX MTX__create (unsigned int options)
 Creates a mutex.

unsigned int MTX__lock (MTX mutex)
 Locks the mutex. This call may block until the mutex can be locked.

unsigned int MTX__unlock (MTX mutex)
 Unlocks the mutex.

unsigned int MTX__destroy (MTX mutex)
 Destroys the mutex.


Detailed Description

Simple mutex, POSIX platform dependent inline implementation.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: MTX.ih.px-xxx-xxx,v 1.2 2004/12/07 16:13:07 russell Exp $

Function Documentation

MTX MTX__create unsigned int  options  ) 
 

Creates a mutex.

Returns:
Status
Parameters:
options A bit mask of options formed from the enumeration MTX_OPTIONS_M

Here is the call graph for this function:

unsigned int MTX__destroy MTX  mutex  ) 
 

Destroys the mutex.

Parameters:
mutex The mutex to destroy

Here is the call graph for this function:

unsigned int MTX__lock MTX  mutex  ) 
 

Locks the mutex. This call may block until the mutex can be locked.

Parameters:
mutex The mutex to lock

unsigned int MTX__unlock MTX  mutex  ) 
 

Unlocks the mutex.

Parameters:
mutex The mutex to lock


Generated on Fri Sep 30 23:51:53 2005 by doxygen 1.3.3