summaryrefslogtreecommitdiff
path: root/modules/pthread-tss
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-15 02:41:00 +0200
committerBruno Haible <bruno@clisp.org>2019-07-15 02:41:00 +0200
commit672c3be2f4c01f3b446ac3588bfde2eb6fd6ccea (patch)
tree84f62f62eec57eeb4236d6f1ab6313dda0ea2fb9 /modules/pthread-tss
parente08989ca11a13c8a09cb0c34f797af5a40753379 (diff)
downloadgnulib-672c3be2f4c01f3b446ac3588bfde2eb6fd6ccea.tar.gz
pthread-tss: New module.
* lib/pthread-tss.c: New file. * m4/pthread-tss.m4: New file. * modules/pthread-tss: New file. * doc/posix-functions/pthread_key_create.texi: Mention the new module. * doc/posix-functions/pthread_setspecific.texi: Likewise. * doc/posix-functions/pthread_getspecific.texi: Likewise. * doc/posix-functions/pthread_key_delete.texi: Likewise.
Diffstat (limited to 'modules/pthread-tss')
-rw-r--r--modules/pthread-tss31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/pthread-tss b/modules/pthread-tss
new file mode 100644
index 0000000000..f4e2fde008
--- /dev/null
+++ b/modules/pthread-tss
@@ -0,0 +1,31 @@
+Description:
+POSIX thread-specific storage.
+
+Files:
+lib/pthread-tss.c
+m4/pthread-tss.m4
+
+Depends-on:
+pthread-h
+windows-tls [test $gl_threads_api = windows]
+
+configure.ac:
+gl_PTHREAD_TSS
+if test $HAVE_PTHREAD_KEY_CREATE = 0 || test $REPLACE_PTHREAD_KEY_CREATE = 1; then
+ AC_LIBOBJ([pthread-tss])
+fi
+gl_PTHREAD_MODULE_INDICATOR([pthread-tss])
+
+Makefile.am:
+
+Include:
+<pthread.h>
+
+Link:
+$(LIBMULTITHREAD)
+
+License:
+LGPLv2+
+
+Maintainer:
+all