#include "abt_config.h"
#include <ucontext.h>
#include "abtd_ucontext.h"
Go to the source code of this file.
|
static ABTD_ythread_context * | ABTD_atomic_relaxed_load_ythread_context_ptr (const ABTD_ythread_context_atomic_ptr *ptr) |
|
static ABTD_ythread_context * | ABTD_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) |
|
◆ _XOPEN_SOURCE
◆ ABTD_ythread_context
◆ ABTD_ythread_context_atomic_ptr
◆ ABTD_atomic_acquire_load_ythread_context_ptr()
◆ ABTD_atomic_relaxed_load_ythread_context_ptr()
◆ ABTD_atomic_relaxed_store_ythread_context_ptr()
◆ ABTD_atomic_release_store_ythread_context_ptr()
◆ 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 |
|
) |
| |
|
static |
◆ 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 |
|
) |
| |
|
static |
◆ ABTD_ythread_context_take()
◆ ABTD_ythread_print_context()
void ABTD_ythread_print_context |
( |
ABTI_ythread * |
p_ythread, |
|
|
FILE * |
p_os, |
|
|
int |
indent |
|
) |
| |