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

Constituent: pbs     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MTX.h.px-xxx-xxx File Reference

Simple mutex, POSIX implementation dependent definitions. More...

#include <pthread.h>

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


Typedefs

typedef pthread_mutex_t * MTX
 Typedef for a mutex.
typedef enum _MTX_OPTIONS_M MTX_OPTIONS_M
 Typedef for enum _MTX_OPTIONS_M.

Enumerations

enum  _MTX_OPTIONS_M {
  MTX_OPTIONS_M_PEND_FIFO = 0,
  MTX_OPTIONS_M_PEND_PRIORITY = 1
}
 Enumerations of the bit mask options used to form the options parameter of the MTX_init routine. More...

Detailed Description

Simple mutex, POSIX implementation dependent definitions.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: MTX.h.px-xxx-xxx,v 1.2 2004/12/07 16:13:07 russell Exp $

Typedef Documentation

MTX_OPTIONS_M
 

Typedef for enum _MTX_OPTIONS_M.

Warning:
Almost no POSIX implementations support any kind of deterministic behaviour when multiple threads are trying to lock the same mutex. It is therefore not portable to architect a program which depends on the pending strategy. It may be used as an optimization strategy on those platforms that support it.


Enumeration Type Documentation

enum _MTX_OPTIONS_M
 

Enumerations of the bit mask options used to form the options parameter of the MTX_init routine.

Enumerator:
MTX_OPTIONS_M_PEND_FIFO  Pend in FIFO order
MTX_OPTIONS_M_PEND_PRIORITY  Pend in PRIORITY order


Generated on Mon Nov 20 05:44:29 2006 by  doxygen 1.4.4