diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-23 19:01:17 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-04-23 19:01:17 +0000 |
commit | 1e9f977e1f87e80e6832cc663bef3d64178e4a4e (patch) | |
tree | 1c50e3ccb4404f7a211d915c483316fc62377f85 /gdb/testsuite/gdb.threads | |
parent | 899d9e3aac18748aab73e920c3695a9c253c69bd (diff) | |
download | gdb-1e9f977e1f87e80e6832cc663bef3d64178e4a4e.zip gdb-1e9f977e1f87e80e6832cc663bef3d64178e4a4e.tar.gz gdb-1e9f977e1f87e80e6832cc663bef3d64178e4a4e.tar.bz2 |
2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c: Reduce thread stack size.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r-- | gdb/testsuite/gdb.threads/manythreads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/manythreads.c b/gdb/testsuite/gdb.threads/manythreads.c index bc0d9b6..e39412c 100644 --- a/gdb/testsuite/gdb.threads/manythreads.c +++ b/gdb/testsuite/gdb.threads/manythreads.c @@ -24,6 +24,7 @@ #include <pthread.h> #include <stdio.h> +#include <limits.h> void * thread_function (void *arg) @@ -43,6 +44,7 @@ main (int argc, char **argv) int i, j; pthread_attr_init (&attr); + pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); /* Create a ton of quick-executing threads, then wait for them to complete. */ |