ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Functions
mutex.c File Reference
#include "abti.h"
Include dependency graph for mutex.c:

Go to the source code of this file.

Functions

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 mutex attributes. More...
 
int ABT_mutex_free (ABT_mutex *mutex)
 Free a mutex. More...
 
int ABT_mutex_lock (ABT_mutex mutex)
 Lock a mutex. More...
 
int ABT_mutex_lock_low (ABT_mutex mutex)
 Lock a mutex with low priority. More...
 
int ABT_mutex_lock_high (ABT_mutex mutex)
 Lock a mutex with high priority. More...
 
int ABT_mutex_trylock (ABT_mutex mutex)
 Attempt to lock a mutex. More...
 
int ABT_mutex_spinlock (ABT_mutex mutex)
 Lock a mutex in a busy-wait form. More...
 
int ABT_mutex_unlock (ABT_mutex mutex)
 Unlock a mutex. More...
 
int ABT_mutex_unlock_se (ABT_mutex mutex)
 Unlock a mutex and try to hand it over a waiter associated with the same execution stream. More...
 
int ABT_mutex_unlock_de (ABT_mutex mutex)
 Unlock a mutex and try to hand it over a waiter associated with an execution stream that is different from that of the caller. More...
 
int ABT_mutex_equal (ABT_mutex mutex1, ABT_mutex mutex2, ABT_bool *result)
 Compare two mutex handles for equality. More...
 
int ABT_mutex_get_attr (ABT_mutex mutex, ABT_mutex_attr *attr)
 Get attributes of a mutex. More...