GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e


Interface   Data Structures   File List   Data Fields   Globals  

SEM.ih.vx-xxx-xxx File Reference

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

#include <semLib.h>

Functions

SEM__EXP_FNC SEM SEM__create (unsigned int options)
 Creates a semaphore.
SEM__EXP_FNC unsigned int SEM__takeW (SEM semaphore)
 Takes the semaphore. This call will block until the semaphore can be acquired.
SEM__EXP_FNC unsigned int SEM__give (SEM semaphore)
 Gives the semaphore.
SEM__EXP_FNC unsigned int SEM__destroy (SEM semaphore)
 Destroys the semaphore.


Detailed Description

Simple semaphore, VXWORKS platform dependent inline implementation.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: SEM.ih.vx-xxx-xxx,v 1.1.1.1 2006/02/10 21:45:38 saxton Exp $

Function Documentation

SEM__EXP_FNC SEM SEM__create ( unsigned int  options  ) 

Creates a semaphore.

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

SEM__EXP_FNC unsigned int SEM__destroy ( SEM  semaphore  ) 

Destroys the semaphore.

Parameters:
semaphore The semaphore to destroy

SEM__EXP_FNC unsigned int SEM__give ( SEM  semaphore  ) 

Gives the semaphore.

Parameters:
semaphore The semaphore to give

SEM__EXP_FNC unsigned int SEM__takeW ( SEM  semaphore  ) 

Takes the semaphore. This call will block until the semaphore can be acquired.

Parameters:
semaphore The semamphore to take


Generated on Wed Nov 21 21:23:56 2012 by  doxygen 1.5.8