From fc6f0665bae406f564e6eb6e1deea849d368a708 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 26 Dec 2011 21:51:53 +0000 Subject: Add libstdthreads. 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@ --- lib/libstdthreads/Symbol.map | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lib/libstdthreads/Symbol.map (limited to 'lib/libstdthreads/Symbol.map') diff --git a/lib/libstdthreads/Symbol.map b/lib/libstdthreads/Symbol.map new file mode 100644 index 000000000000..0fe6eacda4e4 --- /dev/null +++ b/lib/libstdthreads/Symbol.map @@ -0,0 +1,31 @@ +/* + * $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; +}; -- cgit v1.3