forked from Imagelibrary/binutils-gdb
2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c: Reduce thread stack size.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user