diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-09-27 20:44:25 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-09-27 20:44:25 +0000 |
commit | 0057022f7eac67cead06ab83249155fadd700c5f (patch) | |
tree | 802c6f026cc1bfc478c8fc56f6f2fb2f2b66a1e7 /gdb/testsuite/gdb.threads/multi-create.c | |
parent | f29c03257918ec5859f4cb6c85b531423f182744 (diff) | |
download | gdb-0057022f7eac67cead06ab83249155fadd700c5f.zip gdb-0057022f7eac67cead06ab83249155fadd700c5f.tar.gz gdb-0057022f7eac67cead06ab83249155fadd700c5f.tar.bz2 |
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.threads/multi-create.c')
-rw-r--r-- | gdb/testsuite/gdb.threads/multi-create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/multi-create.c b/gdb/testsuite/gdb.threads/multi-create.c index a341153..a90816f 100644 --- a/gdb/testsuite/gdb.threads/multi-create.c +++ b/gdb/testsuite/gdb.threads/multi-create.c @@ -43,7 +43,7 @@ create_function (void *arg) int j; pthread_attr_init (&attr); /* set breakpoint 1 here. */ - pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); + pthread_attr_setstacksize (&attr, 2*PTHREAD_STACK_MIN); /* Create a ton of quick-executing threads, then wait for them to complete. */ @@ -70,7 +70,7 @@ main (int argc, char **argv) int n, i; pthread_attr_init (&attr); - pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); + pthread_attr_setstacksize (&attr, 2*PTHREAD_STACK_MIN); for (n = 0; n < 100; ++n) { |