summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits/local_lim.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 01:56:12 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 01:57:47 +0200
commit8e2666ea9a2d5a13c3974ee7f4345e53de1eb366 (patch)
tree50ed48fc6d424fca36fe83a52e707beeae1f9394 /sysdeps/mach/hurd/bits/local_lim.h
parenta3bac9c2f26072ae6805393064c0a66a6ab1cb05 (diff)
downloadglibc-8e2666ea9a2d5a13c3974ee7f4345e53de1eb366.tar.gz
glibc-8e2666ea9a2d5a13c3974ee7f4345e53de1eb366.tar.xz
glibc-8e2666ea9a2d5a13c3974ee7f4345e53de1eb366.zip
hurd: Advertise libpthread
* sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
_POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
macros.
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
_POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
_POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
_POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
Diffstat (limited to 'sysdeps/mach/hurd/bits/local_lim.h')
-rw-r--r--sysdeps/mach/hurd/bits/local_lim.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/local_lim.h b/sysdeps/mach/hurd/bits/local_lim.h
index 8a1af914f3..97f87ad5d2 100644
--- a/sysdeps/mach/hurd/bits/local_lim.h
+++ b/sysdeps/mach/hurd/bits/local_lim.h
@@ -32,3 +32,12 @@
    suitable, and `sysconf' will return a number at least as large.  */
 
 #define NGROUPS_MAX	256
+
+/* The number of data keys per process.  */
+#define _POSIX_THREAD_KEYS_MAX	128
+
+/* Controlling the iterations of destructors for thread-specific data.  */
+#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS	4
+
+/* The number of threads per process.  */
+#define _POSIX_THREAD_THREADS_MAX	64