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


Interface   Data Structures   File List   Data Fields   Globals  

SEM.h.vx-xxx-xxx File Reference

Simple semaphore, VXWORKS implementation dependent definitions. More...

#include <semLib.h>

Typedefs

typedef SEM_ID SEM
 Typedef for a mutex.
typedef enum _SEM_OPTIONS_M SEM_OPTIONS_M
 Typedef for enum _SEM_OPTIONS_M.

Enumerations

enum  _SEM_OPTIONS_M {
  SEM_OPTIONS_M_PEND_FIFO = SEM_Q_FIFO,
  SEM_OPTIONS_M_PEND_PRIORITY = SEM_Q_PRIORITY
}
 Enumerations of the bit mask options used to form the options parameter of the SEM_init routine. More...


Detailed Description

Simple semaphore, VXWORKS implementation dependent definitions.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: SEM.h.vx-xxx-xxx,v 1.2 2004/12/07 16:13:08 russell Exp $

Typedef Documentation

Typedef for enum _SEM_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. The VxWork's platform does support this option.


Enumeration Type Documentation

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

Enumerator:
SEM_OPTIONS_M_PEND_FIFO  Pend in FIFO order
SEM_OPTIONS_M_PEND_PRIORITY  Pend in PRIORITY order


Generated on Sat Apr 9 19:25:21 2011 by  doxygen 1.5.8