ARGOBOTS  1059a7c2eb7e3f99f736a9c3a4f6ea476ac1b804
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Typedefs | Functions
abtd_context.h File Reference
#include "abt_config.h"
#include "abtd_fcontext.h"
Include dependency graph for abtd_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ABTD_ythread_context_atomic_ptr
 
struct  ABTD_ythread_context
 

Typedefs

typedef struct ABTD_ythread_context ABTD_ythread_context
 
typedef struct
ABTD_ythread_context_atomic_ptr 
ABTD_ythread_context_atomic_ptr
 

Functions

static ABTD_ythread_contextABTD_atomic_relaxed_load_ythread_context_ptr (const ABTD_ythread_context_atomic_ptr *ptr)
 
static ABTD_ythread_contextABTD_atomic_acquire_load_ythread_context_ptr (const ABTD_ythread_context_atomic_ptr *ptr)
 
static void ABTD_atomic_relaxed_store_ythread_context_ptr (ABTD_ythread_context_atomic_ptr *ptr, ABTD_ythread_context *p_ctx)
 
static void ABTD_atomic_release_store_ythread_context_ptr (ABTD_ythread_context_atomic_ptr *ptr, ABTD_ythread_context *p_ctx)
 
static void ABTD_ythread_context_make (ABTD_ythread_context *p_ctx, void *sp, size_t size, void(*thread_func)(void *))
 
static void ABTD_ythread_context_jump (ABTD_ythread_context *p_old, ABTD_ythread_context *p_new, void *arg)
 
static ABTU_noreturn void ABTD_ythread_context_take (ABTD_ythread_context *p_old, ABTD_ythread_context *p_new, void *arg)
 
static void ABTD_ythread_context_init_and_call (ABTD_ythread_context *p_ctx, void *sp, void(*thread_func)(void *), void *arg)
 
void ABTD_ythread_print_context (ABTI_ythread *p_ythread, FILE *p_os, int indent)
 

Typedef Documentation

Definition at line 18 of file abtd_context.h.

Function Documentation

static ABTD_ythread_context* ABTD_atomic_acquire_load_ythread_context_ptr ( const ABTD_ythread_context_atomic_ptr ptr)
inlinestatic
static ABTD_ythread_context* ABTD_atomic_relaxed_load_ythread_context_ptr ( const ABTD_ythread_context_atomic_ptr ptr)
inlinestatic

Definition at line 25 of file abtd_context.h.

Referenced by ABTD_ythread_cancel().

static void ABTD_atomic_relaxed_store_ythread_context_ptr ( ABTD_ythread_context_atomic_ptr ptr,
ABTD_ythread_context p_ctx 
)
inlinestatic
static void ABTD_atomic_release_store_ythread_context_ptr ( ABTD_ythread_context_atomic_ptr ptr,
ABTD_ythread_context p_ctx 
)
inlinestatic

Definition at line 44 of file abtd_context.h.

Referenced by thread_join().

static void ABTD_ythread_context_init_and_call ( ABTD_ythread_context p_ctx,
void *  sp,
void(*)(void *)  thread_func,
void *  arg 
)
static
static void ABTD_ythread_context_jump ( ABTD_ythread_context p_old,
ABTD_ythread_context p_new,
void *  arg 
)
static
static void ABTD_ythread_context_make ( ABTD_ythread_context p_ctx,
void *  sp,
size_t  size,
void(*)(void *)  thread_func 
)
static
static ABTU_noreturn void ABTD_ythread_context_take ( ABTD_ythread_context p_old,
ABTD_ythread_context p_new,
void *  arg 
)
static
void ABTD_ythread_print_context ( ABTI_ythread p_ythread,
FILE *  p_os,
int  indent 
)

Definition at line 148 of file abtd_ythread.c.

Referenced by info_print_unit().