23#ifndef __MACHINE_THREADS_H
24#define __MACHINE_THREADS_H
26#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 201112L)
58#define ONCE_FLAG_INIT KTHREAD_ONCE_INIT
95#define TSS_DTOR_ITERATIONS 1
kthread_once_t once_flag
Object type backing call_once.
Definition _threads.h:55
condvar_t cnd_t
C11 condition variable type.
Definition _threads.h:76
mutex_t mtx_t
C11 mutual exclusion lock type.
Definition _threads.h:67
kthread_t * thrd_t
C11 thread identifier type.
Definition _threads.h:84
kthread_key_t tss_t
C11 thread-specific storage type.
Definition _threads.h:104
Dynamic package initialization.
volatile int kthread_once_t
Object type backing kthread_once.
Definition once.h:35
Condition variable.
Definition cond.h:60
Structure describing one running thread.
Definition thread.h:164
Mutual exclusion lock type.
Definition mutex.h:56
KOS-implementation of select C11 and POSIX extensions.
Thread-local storage support.
int kthread_key_t
Thread-local storage key type.
Definition tls.h:28