socket: Improve fortify with clang
[glibc.git] / conform / data / threads.h-data
blob406e497726ce60b2c67a55cf913de71beed1e0ff
1 #if defined ISO11
3 macro ONCE_FLAG_INIT
4 macro thread_local
5 macro-int-constant TSS_DTOR_ITERATIONS
7 constant thrd_success
8 constant thrd_busy
9 constant thrd_error
10 constant thrd_nomem
11 constant thrd_timedout
13 constant mtx_plain
14 constant mtx_recursive
15 constant mtx_timed
17 type thrd_t
18 type thrd_start_t
19 type mtx_t
20 type once_flag
21 type cnd_t
22 type tss_t
23 type tss_dtor_t
25 function int thrd_create (thrd_t*, thrd_start_t, void*)
26 function int thrd_equal (thrd_t, thrd_t)
27 function thrd_t thrd_current (void)
28 function int thrd_sleep (const struct timespec*, struct timespec*)
29 function void thrd_exit (int)
30 function int thrd_detach (thrd_t)
31 function int thrd_join (thrd_t, int*)
32 function void thrd_yield (void)
34 function int mtx_init (mtx_t*, int)
35 function int mtx_lock (mtx_t*)
36 function int mtx_timedlock (mtx_t*, const struct timespec*)
37 function int mtx_trylock (mtx_t*)
38 function int mtx_unlock (mtx_t*)
39 function void mtx_destroy (mtx_t*)
41 function void call_once (once_flag*, void (*)(void))
43 function int cnd_init (cnd_t*)
44 function int cnd_signal (cnd_t*)
45 function int cnd_broadcast (cnd_t*)
46 function int cnd_wait (cnd_t*, mtx_t*)
47 function int cnd_timedwait (cnd_t*, mtx_t*, const struct timespec*)
48 function void cnd_destroy (cnd_t*)
50 function int tss_create (tss_t*, tss_dtor_t)
51 function {void*} tss_get (tss_t)
52 function int tss_set (tss_t, void*)
53 function void tss_delete (tss_t)
55 #include "time.h-data"
57 #endif