diff options
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/bits/local_lim.h | 7 |
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 |