Go to the source code of this file.
|
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) |
|
◆ ABT_API_PRIVATE
◆ ABTDI_fcontext_init()
static void ABTDI_fcontext_init |
( |
fcontext_t * |
p_ftx | ) |
|
|
inlinestatic |
◆ ABTDI_fcontext_is_created()
static int ABTDI_fcontext_is_created |
( |
const fcontext_t * |
p_ftx | ) |
|
|
inlinestatic |
◆ ABTDI_ythread_context_get_context()
static ABTD_ythread_context* ABTDI_ythread_context_get_context |
( |
fcontext_t * |
p_fctx | ) |
|
|
inlinestatic |
◆ 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()
◆ 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()
◆ 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()
◆ 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 |
|
) |
| |