summaryrefslogtreecommitdiff
path: root/lib/libpthread/include
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-05-30 19:13:05 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-05-30 19:13:05 +0000
commit0ccc8d426b5f68c508dbaf7023366bb3a4dee5f0 (patch)
tree56d92d1627fa83beccf8310cbb73b0cb0f01b3db /lib/libpthread/include
parentf8607bd32dd8b268867441977b7bd64dce63f050 (diff)
Bump minimum stack size; current setting causes hangs or illegal
instructions once every few runs. Problem noted by Botond Botyanszki. ok marc@
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r--lib/libpthread/include/pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 6320c6dea86..ab8b4849619 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.25 2005/10/31 20:48:30 brad Exp $ */
+/* $OpenBSD: pthread.h,v 1.26 2006/05/30 19:13:04 otto Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -57,7 +57,7 @@
*/
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define PTHREAD_KEYS_MAX 256
-#define PTHREAD_STACK_MIN 1024
+#define PTHREAD_STACK_MIN 2048
#define PTHREAD_THREADS_MAX ULONG_MAX
/*