summaryrefslogtreecommitdiff
path: root/modules/thrd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/thrd')
-rw-r--r--modules/thrd33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/thrd b/modules/thrd
new file mode 100644
index 0000000000..3fd606305d
--- /dev/null
+++ b/modules/thrd
@@ -0,0 +1,33 @@
+Description:
+ISO C 11 thread functions.
+
+Files:
+lib/thrd.c
+m4/thrd.m4
+
+Depends-on:
+threads-h
+windows-thread
+nanosleep
+
+configure.ac:
+AC_REQUIRE([gl_THREADS_H])
+gl_FUNC_THRD_JOIN
+if test $HAVE_THREADS_H = 0 || test $REPLACE_THRD_CREATE = 1 || test $REPLACE_THRD_JOIN = 1; then
+ AC_LIBOBJ([thrd])
+fi
+gl_THREADS_MODULE_INDICATOR([thrd])
+
+Makefile.am:
+
+Include:
+<threads.h>
+
+Link:
+$(LTLIBSTDTHREAD) when linking with libtool, $(LIBSTDTHREAD) otherwise
+
+License:
+LGPLv2+
+
+Maintainer:
+all