svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits

vapier at uclibc.org vapier at uclibc.org
Fri Nov 17 05:50:31 UTC 2006


Author: vapier
Date: 2006-11-16 21:50:31 -0800 (Thu, 16 Nov 2006)
New Revision: 16547

Log:
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)

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_local_lim.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_local_lim.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_local_lim.h	2006-11-16 23:29:14 UTC (rev 16546)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_local_lim.h	2006-11-17 05:50:31 UTC (rev 16547)
@@ -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
 




More information about the uClibc-cvs mailing list