From 18c2b105523b22630c8a923573395c8604d208da Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 29 Nov 2006 21:29:28 +0000 Subject: remove redundant headers local to libpthread, causing header file content skew between the versions --- libc/sysdeps/linux/common/bits/local_lim.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libc') 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 -- cgit v1.2.3