ARGOBOTS  4dc37e16e1b227a480715ab67dae1dcfb4d2d4e0
Functions | Variables
global.c File Reference
#include "abti.h"
Include dependency graph for global.c:

Go to the source code of this file.

Functions

static ABTU_ret_err int init_library (void)
 
static ABTU_ret_err int finailze_library (void)
 
static ABT_bool is_initialized_library (void)
 
int ABT_init (int argc, char **argv)
 Initialize the Argobots execution environment. More...
 
int ABT_finalize (void)
 Finalize the Argobots execution environment. More...
 
int ABT_initialized (void)
 Check if the Argobots execution environment has been initialized. More...
 

Variables

ABTI_global * gp_ABTI_global = NULL
 
static uint32_t g_ABTI_num_inits = 0
 
static ABTD_spinlock g_ABTI_init_lock = ABTD_SPINLOCK_STATIC_INITIALIZER()
 
static ABTD_atomic_uint32 g_ABTI_initialized
 

Function Documentation

◆ finailze_library()

static ABTU_ret_err int finailze_library ( void  )
static

Definition at line 289 of file global.c.

◆ init_library()

static ABTU_ret_err int init_library ( void  )
static

Definition at line 196 of file global.c.

◆ is_initialized_library()

static ABT_bool is_initialized_library ( void  )
inlinestatic

Definition at line 365 of file global.c.

Referenced by ABT_initialized().

Variable Documentation

◆ g_ABTI_init_lock

ABTD_spinlock g_ABTI_init_lock = ABTD_SPINLOCK_STATIC_INITIALIZER()
static

Definition at line 24 of file global.c.

◆ g_ABTI_initialized

ABTD_atomic_uint32 g_ABTI_initialized
static
Initial value:
=
ABTD_ATOMIC_UINT32_STATIC_INITIALIZER(0)

Definition at line 26 of file global.c.

◆ g_ABTI_num_inits

uint32_t g_ABTI_num_inits = 0
static

Definition at line 22 of file global.c.

◆ gp_ABTI_global

ABTI_global* gp_ABTI_global = NULL

Definition at line 19 of file global.c.