GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
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.2 2011/03/25 21:15:02 saxton 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 |
1.5.8