ARGOBOTS  29b0d4cc91ca184a8278ddf690fd0bcb2119000e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
mutex.c File Reference
#include "abti.h"
#include "abti_ythread_htable.h"
Include dependency graph for mutex.c:

Go to the source code of this file.

Functions

static void mutex_lock_low (ABTI_local **pp_local, ABTI_mutex *p_mutex)
 
static void mutex_unlock_se (ABTI_local **pp_local, ABTI_mutex *p_mutex)
 
int ABT_mutex_create (ABT_mutex *newmutex)
 Create a new mutex. More...
 
int ABT_mutex_create_with_attr (ABT_mutex_attr attr, ABT_mutex *newmutex)
 Create a new mutex with attributes. More...
 
int ABT_mutex_free (ABT_mutex *mutex)
 Free the mutex object. More...
 
int ABT_mutex_lock (ABT_mutex mutex)
 Lock the mutex. More...
 
int ABT_mutex_lock_low (ABT_mutex mutex)
 Lock the mutex with low priority. More...
 
int ABT_mutex_lock_high (ABT_mutex mutex)
 
int ABT_mutex_trylock (ABT_mutex mutex)
 Attempt to lock a mutex without blocking. More...
 
int ABT_mutex_spinlock (ABT_mutex mutex)
 Lock the mutex without context switch. More...
 
int ABT_mutex_unlock (ABT_mutex mutex)
 Unlock the mutex. More...
 
int ABT_mutex_unlock_se (ABT_mutex mutex)
 Hand over the mutex within the ES. More...
 
int ABT_mutex_unlock_de (ABT_mutex mutex)
 
int ABT_mutex_equal (ABT_mutex mutex1, ABT_mutex mutex2, ABT_bool *result)
 Compare two mutex handles for equality. More...
 

Function Documentation

int ABT_mutex_lock_high ( ABT_mutex  mutex)

Definition at line 209 of file mutex.c.

int ABT_mutex_unlock_de ( ABT_mutex  mutex)

Definition at line 393 of file mutex.c.

static void mutex_lock_low ( ABTI_local **  pp_local,
ABTI_mutex *  p_mutex 
)
inlinestatic

Definition at line 575 of file mutex.c.

Referenced by ABT_mutex_lock_low().

static void mutex_unlock_se ( ABTI_local **  pp_local,
ABTI_mutex *  p_mutex 
)
inlinestatic

Definition at line 658 of file mutex.c.

Referenced by ABT_mutex_unlock_se().