[uClibc-cvs] uClibc/libpthread/linuxthreads internals.h,1.4,1.5
Erik Andersen
andersen at uclibc.org
Thu Jun 12 21:45:00 UTC 2003
- Previous message: [uClibc-cvs] uClibc/ldso/ldso/mips boot1_arch.h,1.5,1.6
- Next message: [uClibc-cvs] uClibc/extra/Configs Config.mips,1.35,1.36 Config.mips.default,1.2,1.3 Config.mipsel,1.34,1.35 Config.mipsel.default,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/uClibc/libpthread/linuxthreads
In directory winder:/tmp/cvs-serv6704/libpthread/linuxthreads
Modified Files:
internals.h
Log Message:
Set the default thread stack size to 16k for mmu-less systems.
-Erik
Index: internals.h
===================================================================
RCS file: /var/cvs/uClibc/libpthread/linuxthreads/internals.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- internals.h 1 Mar 2003 09:04:55 -0000 1.4
+++ internals.h 12 Jun 2003 21:44:56 -0000 1.5
@@ -318,7 +318,11 @@
THREAD_SELF implementation is used, this must be a power of two and
a multiple of PAGE_SIZE. */
#ifndef STACK_SIZE
+#ifdef __UCLIBC_HAS_MMU__
#define STACK_SIZE (2 * 1024 * 1024)
+#else
+#define STACK_SIZE (4 * PAGE_SIZE)
+#endif
#endif
/* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */
- Previous message: [uClibc-cvs] uClibc/ldso/ldso/mips boot1_arch.h,1.5,1.6
- Next message: [uClibc-cvs] uClibc/extra/Configs Config.mips,1.35,1.36 Config.mips.default,1.2,1.3 Config.mipsel,1.34,1.35 Config.mipsel.default,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list