ARGOBOTS  7496202f85916e93d6d143320764c2aba5026d93
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros | Typedefs | Functions
abtd_fcontext.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ABT_API_PRIVATE
 

Typedefs

typedef void * fcontext_t
 

Functions

fcontext_t make_fcontext (void *sp, size_t size, void(*thread_func)(void *)) ABT_API_PRIVATE
 
void * jump_fcontext (fcontext_t *old, fcontext_t new, void *arg) ABT_API_PRIVATE
 
void * take_fcontext (fcontext_t *old, fcontext_t new, void *arg) ABT_API_PRIVATE
 
void init_and_call_fcontext (void *p_arg, void(*f_thread)(void *), void *p_stacktop, fcontext_t *old)
 
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)
 

Macro Definition Documentation

#define ABT_API_PRIVATE

Definition at line 14 of file abtd_fcontext.h.

Typedef Documentation

typedef void* fcontext_t

Definition at line 9 of file abtd_fcontext.h.

Function Documentation

static void ABTD_ythread_context_init_and_call ( ABTD_ythread_context p_ctx,
void *  sp,
void(*)(void *)  thread_func,
void *  arg 
)
inlinestatic

Definition at line 50 of file abtd_fcontext.h.

static void ABTD_ythread_context_jump ( ABTD_ythread_context p_old,
ABTD_ythread_context p_new,
void *  arg 
)
inlinestatic

Definition at line 33 of file abtd_fcontext.h.

static void ABTD_ythread_context_make ( ABTD_ythread_context p_ctx,
void *  sp,
size_t  size,
void(*)(void *)  thread_func 
)
inlinestatic

Definition at line 26 of file abtd_fcontext.h.

static ABTU_noreturn void ABTD_ythread_context_take ( ABTD_ythread_context p_old,
ABTD_ythread_context p_new,
void *  arg 
)
inlinestatic

Definition at line 41 of file abtd_fcontext.h.

void init_and_call_fcontext ( void *  p_arg,
void(*)(void *)  f_thread,
void *  p_stacktop,
fcontext_t old 
)
void* jump_fcontext ( fcontext_t old,
fcontext_t  new,
void *  arg 
)
fcontext_t make_fcontext ( void *  sp,
size_t  size,
void(*)(void *)  thread_func 
)
void* take_fcontext ( fcontext_t old,
fcontext_t  new,
void *  arg 
)