aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c
index ff22bbaa..646d2659 100644
--- a/src/libthread/thread.c
+++ b/src/libthread/thread.c
@@ -578,7 +578,7 @@ main(int argc, char **argv)
p = procalloc();
_threadsetproc(p);
if(mainstacksize == 0)
- mainstacksize = 65536;
+ mainstacksize = 256*1024;
_threadcreate(p, threadmainstart, nil, mainstacksize);
scheduler(p);
_threaddaemonize();