GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
#include <PBI/Inline.h>
#include <PBI/Attribute.h>
#include <IPBS/MTX.h>
Defines | |
| #define | MTX__EXP_PROTO INLINE_USR_EXP_PROTO |
| Export Prototype spec. | |
| #define | MTX__LCL_PROTO INLINE_USR_LCL_PROTO |
| Internal Prototype spec. | |
| #define | MTX__EXP_FNC INLINE_USR_EXP_FNC |
| Export Function declaration. | |
| #define | MTX__LCL_FNC INLINE_USR_LCL_FNC |
| Internal Function declaration. | |
Functions | |
| MTX__EXP_PROTO MTX | MTX__create (unsigned int options) ATTR_UNUSED_OK |
| Creates a mutex. | |
| MTX__EXP_PROTO unsigned int | MTX__lock (MTX mutex) ATTR_UNUSED_OK |
| Locks the mutex. This call may block until the mutex can be locked. | |
| MTX__EXP_PROTO unsigned int | MTX__unlock (MTX mutex) ATTR_UNUSED_OK |
| Unlocks the mutex. | |
| MTX__EXP_PROTO unsigned int | MTX__destroy (MTX mutex) ATTR_UNUSED_OK |
| Destroys the mutex. | |
CVS $Id: MTX.ih,v 1.2 2011/03/25 21:15:01 saxton Exp $
| MTX__EXP_PROTO MTX MTX__create | ( | unsigned int | options | ) |
Creates a mutex.
| options | A bit mask of options formed from the enumeration MTX_OPTIONS_M |
| MTX__EXP_PROTO unsigned int MTX__destroy | ( | MTX | mutex | ) |
Destroys the mutex.
| mutex | The mutex to destroy |
| MTX__EXP_PROTO unsigned int MTX__lock | ( | MTX | mutex | ) |
Locks the mutex. This call may block until the mutex can be locked.
| mutex | The mutex to lock |
| MTX__EXP_PROTO unsigned int MTX__unlock | ( | MTX | mutex | ) |
Unlocks the mutex.
| mutex | The mutex to lock |
1.5.8