ARGOBOTS  0fe9a69fef0da01b7d13b05bf3ea11c116497027
Data Structures | Macros | Functions
abti_spinlock.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ABTI_spinlock
 

Macros

#define ABTI_SPINLOCK_STATIC_INITIALIZER()
 

Functions

static ABT_bool ABTI_spinlock_is_locked (const ABTI_spinlock *p_lock)
 
static void ABTI_spinlock_clear (ABTI_spinlock *p_lock)
 
static void ABTI_spinlock_acquire (ABTI_spinlock *p_lock)
 
static ABT_bool ABTI_spinlock_try_acquire (ABTI_spinlock *p_lock)
 
static void ABTI_spinlock_release (ABTI_spinlock *p_lock)
 

Macro Definition Documentation

◆ ABTI_SPINLOCK_STATIC_INITIALIZER

#define ABTI_SPINLOCK_STATIC_INITIALIZER ( )
Value:
{ \
ABTD_ATOMIC_BOOL_STATIC_INITIALIZER(0) \
}

Definition at line 13 of file abti_spinlock.h.

Function Documentation

◆ ABTI_spinlock_acquire()

static void ABTI_spinlock_acquire ( ABTI_spinlock p_lock)
inlinestatic

◆ ABTI_spinlock_clear()

static void ABTI_spinlock_clear ( ABTI_spinlock p_lock)
inlinestatic

◆ ABTI_spinlock_is_locked()

static ABT_bool ABTI_spinlock_is_locked ( const ABTI_spinlock p_lock)
inlinestatic

◆ ABTI_spinlock_release()

static void ABTI_spinlock_release ( ABTI_spinlock p_lock)
inlinestatic

◆ ABTI_spinlock_try_acquire()

static ABT_bool ABTI_spinlock_try_acquire ( ABTI_spinlock p_lock)
inlinestatic