GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / rad750


Interface   Data Structures   File List   Data Fields   Globals  

MTX.ih.vx-xxx-xxx File Reference

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

#include <semLib.h>

Functions

MTX__EXP_FNC MTX MTX__create (unsigned int options)
 Creates a mutex.
MTX__EXP_FNC unsigned int MTX__lock (MTX mutex)
 Locks the mutex. This call may block until the mutex can be locked.
MTX__EXP_FNC unsigned int MTX__unlock (MTX mutex)
 Unlocks the mutex.
MTX__EXP_FNC unsigned int MTX__destroy (MTX mutex)
 Destroys the mutex.


Detailed Description

Simple mutex, VXWORKS platform dependent inline implementation.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: MTX.ih.vx-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

Referenced by TAU_initialize().

unsigned int MTX__destroy ( MTX  mutex  ) 

Destroys the mutex.

Parameters:
mutex The mutex to destroy

Referenced by TAU_shutdown().

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

Referenced by TAU_pread().

unsigned int MTX__unlock ( MTX  mutex  ) 

Unlocks the mutex.

Parameters:
mutex The mutex to lock

Referenced by TAU_pread().


Generated on Fri Aug 5 18:41:04 2011 by  doxygen 1.5.8