GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
#include <PBI/Inline.h>
#include <PBI/Attribute.h>
#include <IPBS/SEM.h>
Defines | |
| #define | SEM__EXP_PROTO INLINE_USR_EXP_PROTO |
| Export Prototype spec. | |
| #define | SEM__LCL_PROTO INLINE_USR_LCL_PROTO |
| Internal Prototype spec. | |
| #define | SEM__EXP_FNC INLINE_USR_EXP_FNC |
| Export Function declaration. | |
| #define | SEM__LCL_FNC INLINE_USR_LCL_FNC |
| Internal Function declaration. | |
Functions | |
| SEM__EXP_PROTO SEM | SEM__create (unsigned int options) ATTR_UNUSED_OK |
| Creates a semaphore. | |
| SEM__EXP_PROTO unsigned int | SEM__takeW (SEM semaphore) ATTR_UNUSED_OK |
| Takes the semaphore. This call will block until the semaphore can be acquired. | |
| SEM__EXP_PROTO unsigned int | SEM__give (SEM give) ATTR_UNUSED_OK |
| Gives the semaphore. | |
| SEM__EXP_PROTO unsigned int | SEM__destroy (SEM semaphore) ATTR_UNUSED_OK |
| Destroys the semaphore. | |
CVS $Id: SEM.ih,v 1.2 2011/03/25 21:15:02 saxton Exp $
| SEM SEM__create | ( | unsigned int | options | ) |
Creates a semaphore.
| 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 acquired.
| semaphore | The semamphore to take |
1.5.8