ARGOBOTS  7496202f85916e93d6d143320764c2aba5026d93
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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)
 Terminate the Argobots execution environment. More...
 
int ABT_initialized (void)
 Check whether ABT_init() has been called. More...
 

Variables

ABTI_global * gp_ABTI_global = NULL
 
static uint32_t g_ABTI_num_inits = 0
 
static ABTI_spinlock g_ABTI_init_lock = ABTI_SPINLOCK_STATIC_INITIALIZER()
 
static ABTD_atomic_uint32 g_ABTI_initialized
 

Function Documentation

static ABTU_ret_err int finailze_library ( void  )
static

Definition at line 182 of file global.c.

Referenced by ABT_finalize().

static ABTU_ret_err int init_library ( void  )
static

Definition at line 109 of file global.c.

Referenced by ABT_init().

Variable Documentation

ABTI_spinlock g_ABTI_init_lock = ABTI_SPINLOCK_STATIC_INITIALIZER()
static

Definition at line 23 of file global.c.

Referenced by ABT_finalize(), and ABT_init().

ABTD_atomic_uint32 g_ABTI_initialized
static
Initial value:
=
ABTD_ATOMIC_UINT32_STATIC_INITIALIZER(0)

Definition at line 25 of file global.c.

Referenced by ABT_initialized(), finailze_library(), and init_library().

uint32_t g_ABTI_num_inits = 0
static

Definition at line 21 of file global.c.

Referenced by finailze_library(), and init_library().

ABTI_global* gp_ABTI_global = NULL