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

Go to the source code of this file.

Functions

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
 

Variable Documentation

ABTI_spinlock g_ABTI_init_lock = ABTI_SPINLOCK_STATIC_INITIALIZER()
static

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

Referenced by ABT_finalize(), ABT_init(), and ABT_initialized().

uint32_t g_ABTI_num_inits = 0
static

Definition at line 17 of file global.c.

Referenced by ABT_finalize(), and ABT_init().

ABTI_global* gp_ABTI_global = NULL