Files | |
file | atomic.h |
file | config.h |
file | fibril.h |
file | thread.h |
file | tls.h |
file | types.h |
Data Structures | |
struct | context_t |
Fibril context. More... | |
struct | tcb_t |
TCB (Thread Control Block) struct. More... | |
Defines | |
#define | __32_BITS__ |
#define | atomic_predec(val) (atomic_postdec(val) - 1) |
#define | atomic_preinc(val) (atomic_postinc(val) + 1) |
#define | CAS |
#define | CONFIG_TLS_VARIANT_2 |
#define | context_set(ctx, _pc, stack, size, ptls) |
#define | LIBC_ARCH_ATOMIC_H_ |
#define | PAGE_SIZE (1 << PAGE_WIDTH) |
#define | PAGE_WIDTH 12 |
#define | PRIdn PRId32 |
Format for native_t. | |
#define | PRIua PRIu32 |
Format for atomic_count_t. | |
#define | PRIun PRIu32 |
Format for sysarg_t. | |
#define | PRIxn PRIx32 |
Format for hexadecimal sysarg_t. | |
#define | SIZE_MAX UINT32_MAX |
#define | SIZE_MIN UINT32_MIN |
#define | SP_DELTA 0 |
#define | SSIZE_MAX INT32_MAX |
#define | SSIZE_MIN INT32_MIN |
Typedefs | |
typedef uint32_t | atomic_count_t |
typedef int32_t | atomic_signed_t |
typedef uint32_t | size_t |
typedef int32_t | ssize_t |
typedef uint32_t | sysarg_t |
typedef uint32_t | uintptr_t |
Functions | |
uintptr_t | __aeabi_read_tp (void) |
static tcb_t * | __tcb_get (void) |
static void | __tcb_set (tcb_t *tcb) |
static void | atomic_dec (atomic_t *val) |
static void | atomic_inc (atomic_t *val) |
static atomic_count_t | atomic_postdec (atomic_t *val) |
static atomic_count_t | atomic_postinc (atomic_t *val) |
static bool | cas (atomic_t *val, atomic_count_t ov, atomic_count_t nv) |
static uintptr_t | context_get_fp (context_t *ctx) |