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

Go to the source code of this file.

Functions

int ABT_key_create (void(*destructor)(void *value), ABT_key *newkey)
 Create a new work-unit-specific data key. More...
 
int ABT_key_free (ABT_key *key)
 Free a work-unit-specific data key. More...
 
int ABT_key_set (ABT_key key, void *value)
 Associate a value with a work-unit-specific data key in the calling work unit. More...
 
int ABT_key_get (ABT_key key, void **value)
 Get a value associated with a work-unit-specific data key in the calling work unit. More...
 
void ABTI_ktable_free (ABTI_global *p_global, ABTI_local *p_local, ABTI_ktable *p_ktable)
 

Variables

static ABTD_atomic_uint32 g_key_id
 

Function Documentation

◆ ABTI_ktable_free()

void ABTI_ktable_free ( ABTI_global p_global,
ABTI_local p_local,
ABTI_ktable p_ktable 
)

Definition at line 247 of file key.c.

Referenced by thread_free(), and ythread_create().

Variable Documentation

◆ g_key_id

ABTD_atomic_uint32 g_key_id
static
Initial value:

Definition at line 13 of file key.c.

Referenced by ABT_key_create().

ABTI_KEY_ID_END_
#define ABTI_KEY_ID_END_
Definition: abti_key.h:49
ABTD_ATOMIC_UINT32_STATIC_INITIALIZER
#define ABTD_ATOMIC_UINT32_STATIC_INITIALIZER(val)
Definition: abtd_atomic.h:59