GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / sun-gcc
Functions | |
SEM | SEM_create (unsigned int options) |
Creates a semaphore. | |
unsigned int | SEM_takeW (SEM semaphore) |
Takes the semaphore. This call will block until the semaphore can be taken. | |
unsigned int | SEM_give (SEM semaphore) |
Gives the semaphore. | |
unsigned int | SEM_destroy (SEM semaphore) |
Destroys the semaphore. |
CVS $Id: SEM.h,v 1.3 2011/03/24 23:05:44 apw Exp $
SEM SEM_create | ( | unsigned int | options | ) |
Creates a semaphore.
NON-NULL | A pointer to the created semaphore | |
NULL | Error in the creation |
options | A bit mask of options formed from the enumeration SEM_OPTIONS_M |
unsigned int SEM_destroy | ( | SEM | semaphore | ) |
Destroys the semaphore.
semaphore | The semaphore to destroy |
unsigned int SEM_give | ( | SEM | semaphore | ) |
Gives the semaphore.
semaphore | The semaphore to give |
unsigned int SEM_takeW | ( | SEM | semaphore | ) |
Takes the semaphore. This call will block until the semaphore can be taken.
semaphore | The semaphore to take |