ARGOBOTS  be4fa269aff5d27d176eaaf43a9acaa10a66c79d
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)
 
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 276 of file global.c.

◆ init_library()

static ABTU_ret_err int init_library ( void  )
static

Definition at line 183 of file global.c.

Variable Documentation

◆ g_ABTI_init_lock

ABTD_spinlock g_ABTI_init_lock = ABTD_SPINLOCK_STATIC_INITIALIZER()
static

Definition at line 23 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 25 of file global.c.

◆ g_ABTI_num_inits

uint32_t g_ABTI_num_inits = 0
static

Definition at line 21 of file global.c.

◆ gp_ABTI_global

ABTI_global* gp_ABTI_global = NULL

Definition at line 18 of file global.c.