summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-17 05:50:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-17 05:50:31 +0000
commit1b04a82fba2325c45705f4c96bf17dee211fc10e (patch)
tree03e01321fcd8997deaa19d67ae4d0e21f40086d0 /libc/sysdeps/linux/common/bits
parent00de48283aa0e538dc8d0f5f38ba84c08af722d0 (diff)
revert PTHREAD_THREADS_MAX back to former size since the large majority of people out there will not need more than 1k threads (and people who do can change this themselves)
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_local_lim.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_local_lim.h b/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
index 34575cb50..6c23f398b 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
@@ -11,12 +11,13 @@
#define _BITS_UCLIBC_LOCAL_LIM_H 1
/* This file works correctly only if local_lim.h is the NPTL version */
-#if !defined PTHREAD_KEYS_MAX || defined TIMER_MAX
+#if !defined PTHREAD_KEYS_MAX || defined TIMER_MAX
# error local_lim.h was incorrectly updated, use the NPTL version from glibc
#endif
+/* This should really be moved to thread specific directories */
#if defined __UCLIBC_HAS_THREADS__
-# define PTHREAD_THREADS_MAX 16384
+# define PTHREAD_THREADS_MAX 1024
# define TIMER_MAX 256
#endif