OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions
mutex_unix.h File Reference

Mutual exclusion functions: Unix implementation. More...

`#include "opal_config.h"`
`#include "opal/class/opal_object.h"`
`#include "opal/sys/atomic.h"`

Go to the source code of this file.

## Data Structures
struct | opal_mutex_t

## Functions
OPAL_DECLSPEC | OBJ_CLASS_DECLARATION (opal_mutex_t)
static int | opal_mutex_atomic_trylock (opal_mutex_t *m)
static void | opal_mutex_atomic_lock (opal_mutex_t *m)
static void | opal_mutex_atomic_unlock (opal_mutex_t *m)

## Detailed Description

Mutual exclusion functions: Unix implementation.

Functions for locking of critical sections.

On unix, use pthreads or our own atomic operations as available.