diff --git a/thread/thread.c b/thread/thread.c index 376365f..528cfab 100644 --- a/thread/thread.c +++ b/thread/thread.c @@ -291,6 +291,7 @@ thread_type *thread_create_c(char *name, void *(*start_routine)(void *), start->arg = arg; start->thread = thread; + pthread_attr_setstacksize (&attr, 512*1024); pthread_attr_setinheritsched (&attr, PTHREAD_INHERIT_SCHED); if (detached) {