ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Data Structures | Macros | 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.

Data Structures

struct  fcontext_t
 

Macros

#define ABT_API_PRIVATE
 

Functions

static int ABTDI_fcontext_is_created (const fcontext_t *p_ftx)
 
static void ABTDI_fcontext_init (fcontext_t *p_ftx)
 
void switch_fcontext (fcontext_t *p_new_ctx, fcontext_t *p_old_ctx) ABT_API_PRIVATE
 
void jump_fcontext (fcontext_t *p_new_ctx) ABT_API_PRIVATE
 
void init_and_switch_fcontext (fcontext_t *p_new_ctx, void(*f_thread)(fcontext_t *), void *p_stacktop, fcontext_t *p_old_ctx) ABT_API_PRIVATE
 
void init_and_jump_fcontext (fcontext_t *p_new_ctx, void(*f_thread)(fcontext_t *), void *p_stacktop) ABT_API_PRIVATE
 
void switch_with_call_fcontext (void *cb_arg, void(*f_cb)(void *), fcontext_t *p_new_ctx, fcontext_t *p_old_ctx) ABT_API_PRIVATE
 
void jump_with_call_fcontext (void *cb_arg, void(*f_cb)(void *), fcontext_t *p_new_ctx) ABT_API_PRIVATE
 
void init_and_switch_with_call_fcontext (void *cb_arg, void(*f_cb)(void *), fcontext_t *p_new_ctx, void(*f_thread)(fcontext_t *), void *p_stacktop, fcontext_t *p_old_ctx) ABT_API_PRIVATE
 
void init_and_jump_with_call_fcontext (void *cb_arg, void(*f_cb)(void *), fcontext_t *p_new_ctx, void(*f_thread)(fcontext_t *), void *p_stacktop) ABT_API_PRIVATE
 
void peek_fcontext (void *arg, void(*f_peek)(void *), fcontext_t *p_target_ctx) ABT_API_PRIVATE
 
static ABTD_ythread_context * ABTDI_ythread_context_get_context (fcontext_t *p_fctx)
 

Macro Definition Documentation

◆ ABT_API_PRIVATE

#define ABT_API_PRIVATE

Definition at line 27 of file abtd_fcontext.h.

Function Documentation

◆ ABTDI_fcontext_init()

static void ABTDI_fcontext_init ( fcontext_t p_ftx)
inlinestatic

Definition at line 19 of file abtd_fcontext.h.

◆ ABTDI_fcontext_is_created()

static int ABTDI_fcontext_is_created ( const fcontext_t p_ftx)
inlinestatic

Definition at line 13 of file abtd_fcontext.h.

◆ ABTDI_ythread_context_get_context()

static ABTD_ythread_context* ABTDI_ythread_context_get_context ( fcontext_t p_fctx)
inlinestatic

Definition at line 65 of file abtd_fcontext.h.

◆ init_and_jump_fcontext()

void init_and_jump_fcontext ( fcontext_t p_new_ctx,
void(*)(fcontext_t *)  f_thread,
void *  p_stacktop 
)

◆ init_and_jump_with_call_fcontext()

void init_and_jump_with_call_fcontext ( void *  cb_arg,
void(*)(void *)  f_cb,
fcontext_t p_new_ctx,
void(*)(fcontext_t *)  f_thread,
void *  p_stacktop 
)

◆ init_and_switch_fcontext()

void init_and_switch_fcontext ( fcontext_t p_new_ctx,
void(*)(fcontext_t *)  f_thread,
void *  p_stacktop,
fcontext_t p_old_ctx 
)

◆ init_and_switch_with_call_fcontext()

void init_and_switch_with_call_fcontext ( void *  cb_arg,
void(*)(void *)  f_cb,
fcontext_t p_new_ctx,
void(*)(fcontext_t *)  f_thread,
void *  p_stacktop,
fcontext_t p_old_ctx 
)

◆ jump_fcontext()

void jump_fcontext ( fcontext_t p_new_ctx)

◆ jump_with_call_fcontext()

void jump_with_call_fcontext ( void *  cb_arg,
void(*)(void *)  f_cb,
fcontext_t p_new_ctx 
)

◆ peek_fcontext()

void peek_fcontext ( void *  arg,
void(*)(void *)  f_peek,
fcontext_t p_target_ctx 
)

◆ switch_fcontext()

void switch_fcontext ( fcontext_t p_new_ctx,
fcontext_t p_old_ctx 
)

◆ switch_with_call_fcontext()

void switch_with_call_fcontext ( void *  cb_arg,
void(*)(void *)  f_cb,
fcontext_t p_new_ctx,
fcontext_t p_old_ctx 
)