summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-11-29 21:29:28 +0000
committerEric Andersen <andersen@codepoet.org>2006-11-29 21:29:28 +0000
commit18c2b105523b22630c8a923573395c8604d208da (patch)
treebb2ec404c4cd694f9f70ab50c7021ae7be4b1740 /libc
parent589c9895a47f608d6f7333dba3d7b449baf4b374 (diff)
remove redundant headers local to libpthread, causing header
file content skew between the versions
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/local_lim.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/bits/local_lim.h b/libc/sysdeps/linux/common/bits/local_lim.h
index b639ba44a..ed6c3c589 100644
--- a/libc/sysdeps/linux/common/bits/local_lim.h
+++ b/libc/sysdeps/linux/common/bits/local_lim.h
@@ -63,8 +63,8 @@
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
-/* We have no predefined limit on the number of threads. */
-#undef PTHREAD_THREADS_MAX
+/* This is the value this implementation supports. */
+#define PTHREAD_THREADS_MAX 16384
/* Maximum amount by which a process can descrease its asynchronous I/O
priority level. */
@@ -73,6 +73,9 @@
/* Minimum size for a thread. We are free to choose a reasonable value. */
#define PTHREAD_STACK_MIN 16384
+/* Maximum number of POSIX timers available. */
+#define TIMER_MAX 256
+
/* Maximum number of timer expiration overruns. */
#define DELAYTIMER_MAX 2147483647