2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c: Reduce thread stack size.
This commit is contained in:
parent
899d9e3aac
commit
1e9f977e1f
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* gdb.threads/manythreads.c: Reduce thread stack size.
|
||||
|
||||
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* gdb.threads/manythreads.c: Add copyright notice.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue