mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
fc6f0665ba
This library implements the C11 threads interface on top of the pthreads library. As discussed on the lists, the preferred way to implement this, is as a separate library. It is unlikely that these functions will be used a lot in the future. It would have been easier if the C11 working group standardized (a subset of) pthreads and clock_nanosleep(). Having it as a separate library allows the embedded people to omit it from their system. Discussed on: arch@, threads@
32 lines
359 B
Plaintext
32 lines
359 B
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
FBSD_1.3 {
|
|
call_once;
|
|
cnd_broadcast;
|
|
cnd_destroy;
|
|
cnd_init;
|
|
cnd_signal;
|
|
cnd_timedwait;
|
|
cnd_wait;
|
|
mtx_destroy;
|
|
mtx_init;
|
|
mtx_lock;
|
|
mtx_timedlock;
|
|
mtx_trylock;
|
|
mtx_unlock;
|
|
thrd_create;
|
|
thrd_current;
|
|
thrd_detach;
|
|
thrd_equal;
|
|
thrd_exit;
|
|
thrd_join;
|
|
thrd_sleep;
|
|
thrd_yield;
|
|
tss_create;
|
|
tss_delete;
|
|
tss_get;
|
|
tss_set;
|
|
};
|