OpenMPI  0.1.1
mutex_windows.h File Reference

Mutual exclusion functions: Windows 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_trylock (opal_mutex_t *m)
 
static void opal_mutex_lock (opal_mutex_t *m)
 
static void opal_mutex_unlock (opal_mutex_t *m)
 
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: Windows implementation.

Functions for locking of critical sections.

On Windows, base everything on InterlockedExchange().