#include <threads.h>
Go to the source code of this file.
|
int | thrd_create (thrd_t *thr, thrd_start_t func, void *arg) |
|
int | thrd_equal (thrd_t lhs, thrd_t rhs) |
|
thrd_t | thrd_current () |
|
int | thrd_sleep (const struct timespec *time_point, struct timespec *remaining) |
|
void | thrd_yield () |
|
void | thrd_exit (int res) |
|
int | mtx_init (mtx_t *mutex, int type) |
|
int | mtx_lock (mtx_t *mutex) |
|
int | mtx_timedlock (mtx_t *restrict mutex, const struct timespec *restrict time_point) |
|
int | mtx_trylock (mtx_t *mutex) |
|
int | mtx_unlock (mtx_t *mutex) |
|
void | mtx_destroy (mtx_t *mutex) |
|
void | call_once (once_flag *flag, void(*func)(void)) |
|
int | cnd_init (cnd_t *cond) |
|
int | cnd_signal (cnd_t *cond) |
|
int | cnd_broadcast (cnd_t *cond) |
|
int | cnd_wait (cnd_t *cond, mtx_t *mutex) |
|
int | cnd_timedwait (cnd_t *restrict cond, mtx_t *restrict mutex, const struct timespec *restrict time_point) |
|
void | cnd_destroy (cnd_t *cond) |
|
◆ __CPROVER_THREADS_H_INCLUDED
#define __CPROVER_THREADS_H_INCLUDED |
◆ call_once()
void call_once |
( |
once_flag * |
flag, |
|
|
void(*)(void) |
func |
|
) |
| |
◆ cnd_broadcast()
int cnd_broadcast |
( |
cnd_t * |
cond | ) |
|
◆ cnd_destroy()
void cnd_destroy |
( |
cnd_t * |
cond | ) |
|
◆ cnd_init()
int cnd_init |
( |
cnd_t * |
cond | ) |
|
◆ cnd_signal()
int cnd_signal |
( |
cnd_t * |
cond | ) |
|
◆ cnd_timedwait()
◆ cnd_wait()
int cnd_wait |
( |
cnd_t * |
cond, |
|
|
mtx_t * |
mutex |
|
) |
| |
◆ mtx_destroy()
void mtx_destroy |
( |
mtx_t * |
mutex | ) |
|
◆ mtx_init()
int mtx_init |
( |
mtx_t * |
mutex, |
|
|
int |
type |
|
) |
| |
◆ mtx_lock()
int mtx_lock |
( |
mtx_t * |
mutex | ) |
|
◆ mtx_timedlock()
int mtx_timedlock |
( |
mtx_t *restrict |
mutex, |
|
|
const struct timespec *restrict |
time_point |
|
) |
| |
◆ mtx_trylock()
int mtx_trylock |
( |
mtx_t * |
mutex | ) |
|
◆ mtx_unlock()
int mtx_unlock |
( |
mtx_t * |
mutex | ) |
|
◆ thrd_create()
int thrd_create |
( |
thrd_t * |
thr, |
|
|
thrd_start_t |
func, |
|
|
void * |
arg |
|
) |
| |
◆ thrd_current()
◆ thrd_equal()
int thrd_equal |
( |
thrd_t |
lhs, |
|
|
thrd_t |
rhs |
|
) |
| |
◆ thrd_exit()
void thrd_exit |
( |
int |
res | ) |
|
◆ thrd_sleep()
int thrd_sleep |
( |
const struct timespec * |
time_point, |
|
|
struct timespec * |
remaining |
|
) |
| |
◆ thrd_yield()