* gdb.threads/manythreads.c: Reduce thread stack size.
+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.
#include <pthread.h>
#include <stdio.h>
+#include <limits.h>
void *
thread_function (void *arg)
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. */