GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / V2-12-1 > pbs / rhel6-64
#include <PBS/MBA.h>
#include <PBS/MTX.h>
#include <pthread.h>
Functions | |
MTX | MTX__create (unsigned int options) |
Creates a mutex. | |
unsigned int | MTX__lock (MTX mutex) |
Locks the mutex. This call may block until the mutex can be locked. | |
unsigned int | MTX__unlock (MTX mutex) |
Unlocks the mutex. | |
unsigned int | MTX__destroy (MTX mutex) |
Destroys the mutex. |
CVS $Id: MTX.ih.px-xxx-xxx,v 1.3 2011/03/24 23:05:45 apw Exp $
MTX MTX__create | ( | unsigned int | options | ) |
Creates a mutex.
options | A bit mask of options formed from the enumeration MTX_OPTIONS_M |
References MBA_alloc(), and MBA_free().
unsigned int MTX__destroy | ( | MTX | mutex | ) |
unsigned int MTX__lock | ( | MTX | mutex | ) |
Locks the mutex. This call may block until the mutex can be locked.
mutex | The mutex to lock |
unsigned int MTX__unlock | ( | MTX | mutex | ) |
Unlocks the mutex.
mutex | The mutex to lock |