Go to the source code of this file.
|
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) |
|
◆ ABT_API_PRIVATE
◆ fcontext_t
◆ ABTD_ythread_context_init_and_call()
static void ABTD_ythread_context_init_and_call |
( |
ABTD_ythread_context * |
p_ctx, |
|
|
void * |
sp, |
|
|
void(*)(void *) |
thread_func, |
|
|
void * |
arg |
|
) |
| |
|
inlinestatic |
◆ ABTD_ythread_context_jump()
◆ ABTD_ythread_context_make()
static void ABTD_ythread_context_make |
( |
ABTD_ythread_context * |
p_ctx, |
|
|
void * |
sp, |
|
|
size_t |
size, |
|
|
void(*)(void *) |
thread_func |
|
) |
| |
|
inlinestatic |
◆ ABTD_ythread_context_take()
◆ init_and_call_fcontext()
void init_and_call_fcontext |
( |
void * |
p_arg, |
|
|
void(*)(void *) |
f_thread, |
|
|
void * |
p_stacktop, |
|
|
fcontext_t * |
old |
|
) |
| |
◆ jump_fcontext()
◆ make_fcontext()
fcontext_t make_fcontext |
( |
void * |
sp, |
|
|
size_t |
size, |
|
|
void(*)(void *) |
thread_func |
|
) |
| |
◆ take_fcontext()