Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread Shrink the per-thread stack to a more re...



details:   https://anonhg.NetBSD.org/src/rev/4ad9ca5e809d
branches:  nathanw_sa
changeset: 504840:4ad9ca5e809d
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Jul 13 02:09:59 2001 +0000

description:
Shrink the per-thread stack to a more reasonable size.

diffstat:

 lib/libpthread/pthread_int.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4e51cbe4c3c0 -r 4ad9ca5e809d lib/libpthread/pthread_int.h
--- a/lib/libpthread/pthread_int.h      Fri Jul 13 02:09:31 2001 +0000
+++ b/lib/libpthread/pthread_int.h      Fri Jul 13 02:09:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $Id: pthread_int.h,v 1.1.2.2 2001/07/13 02:09:31 nathanw Exp $ */
+/* $Id: pthread_int.h,v 1.1.2.3 2001/07/13 02:09:59 nathanw Exp $ */
 /* Copyright */
 
 #ifndef _LIB_PTHREAD_INT_H
@@ -96,7 +96,7 @@
 #define PT_ATTR_MAGIC  0x5555FACE
 #define PT_ATTR_DEAD   0xFACEDEAD
 
-#define PT_STACKSIZE   (1<<20) 
+#define PT_STACKSIZE   (1<<16) 
 #define PT_STACKMASK   (PT_STACKSIZE-1)
 
 #define PT_UPCALLSTACKS        16



Home | Main Index | Thread Index | Old Index