ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Data Structures | Macros | Typedefs | Functions
abtd_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  ABTD_spinlock
 

Macros

#define ABTD_SPINLOCK_STATIC_INITIALIZER()
 

Typedefs

typedef struct ABTD_spinlock ABTD_spinlock
 

Functions

static ABT_bool ABTD_spinlock_is_locked (const ABTD_spinlock *p_lock)
 
static void ABTD_spinlock_clear (ABTD_spinlock *p_lock)
 
static void ABTD_spinlock_acquire (ABTD_spinlock *p_lock)
 
static ABT_bool ABTD_spinlock_try_acquire (ABTD_spinlock *p_lock)
 
static void ABTD_spinlock_release (ABTD_spinlock *p_lock)
 

Macro Definition Documentation

◆ ABTD_SPINLOCK_STATIC_INITIALIZER

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

Definition at line 13 of file abtd_spinlock.h.

Typedef Documentation

◆ ABTD_spinlock

typedef struct ABTD_spinlock ABTD_spinlock

Function Documentation

◆ ABTD_spinlock_acquire()

static void ABTD_spinlock_acquire ( ABTD_spinlock p_lock)
inlinestatic

◆ ABTD_spinlock_clear()

static void ABTD_spinlock_clear ( ABTD_spinlock p_lock)
inlinestatic

◆ ABTD_spinlock_is_locked()

static ABT_bool ABTD_spinlock_is_locked ( const ABTD_spinlock p_lock)
inlinestatic

◆ ABTD_spinlock_release()

static void ABTD_spinlock_release ( ABTD_spinlock p_lock)
inlinestatic

◆ ABTD_spinlock_try_acquire()

static ABT_bool ABTD_spinlock_try_acquire ( ABTD_spinlock p_lock)
inlinestatic