#include <pthread.h>
#include <time.h>
Go to the source code of this file.
|
| int | thrd_create (thrd_t *, thrd_start_t, void *) |
| int | thrd_equal (thrd_t, thrd_t) |
| thrd_t | thrd_current (void) |
| int | thrd_sleep (const struct timespec *, struct timespec *) |
| void | thrd_yield (void) |
| _Noreturn void | thrd_exit (int) |
| int | thrd_detach (thrd_t) |
| int | thrd_join (thrd_t, int *) |
| int | mtx_init (mtx_t *, int) |
| int | mtx_lock (mtx_t *) |
| int | mtx_timedlock (mtx_t *__restrict, const struct timespec *__restrict) |
| int | mtx_trylock (mtx_t *) |
| int | mtx_unlock (mtx_t *) |
| void | mtx_destroy (mtx_t *) |
| void | call_once (once_flag *, void(*)(void)) |
| int | cnd_init (cnd_t *) |
| int | cnd_signal (cnd_t *) |
| int | cnd_broadcast (cnd_t *) |
| int | cnd_wait (cnd_t *, mtx_t *) |
| int | cnd_timedwait (cnd_t *__restrict, mtx_t *__restrict, const struct timespec *__restrict) |
| void | cnd_destroy (cnd_t *) |
| int | tss_create (tss_t *, tss_dtor_t) |
| void * | tss_get (tss_t) |
| int | tss_set (tss_t, void *) |
| void | tss_delete (tss_t) |
◆ ONCE_FLAG_INIT
◆ thread_local
| #define thread_local _Thread_local |
◆ TSS_DTOR_ITERATIONS
| #define TSS_DTOR_ITERATIONS 4 |
◆ cnd_t
◆ mtx_t
◆ once_flag
◆ thrd_start_t
| typedef int(* thrd_start_t) (void *) |
◆ thrd_t
◆ tss_dtor_t
| typedef void(* tss_dtor_t) (void *) |
◆ tss_t
◆ anonymous enum
| Enumerator |
|---|
| thrd_success | |
| thrd_busy | |
| thrd_error | |
| thrd_nomem | |
| thrd_timedout | |
◆ anonymous enum
| Enumerator |
|---|
| mtx_plain | |
| mtx_recursive | |
| mtx_timed | |
◆ call_once()
| void call_once |
( |
once_flag * | flag, |
|
|
void(* | func )(void) ) |
◆ cnd_broadcast()
◆ cnd_destroy()
| void cnd_destroy |
( |
cnd_t * | cond | ) |
|
◆ cnd_init()
◆ cnd_signal()
◆ cnd_timedwait()
◆ cnd_wait()
◆ mtx_destroy()
| void mtx_destroy |
( |
mtx_t * | mtx | ) |
|
◆ mtx_init()
◆ mtx_lock()
◆ mtx_timedlock()
◆ mtx_trylock()
◆ mtx_unlock()
◆ thrd_create()
◆ thrd_current()
◆ thrd_detach()
◆ thrd_equal()
◆ thrd_exit()
| _Noreturn void thrd_exit |
( |
int | res | ) |
|
◆ thrd_join()
◆ thrd_sleep()
◆ thrd_yield()
◆ tss_create()
◆ tss_delete()
| void tss_delete |
( |
tss_t | key | ) |
|
◆ tss_get()
| void * tss_get |
( |
tss_t | key | ) |
|
◆ tss_set()