Increase default stack size of new threads to 80 KiB.

This fixes a crash where git has a 64 KiB stack buffer.
This commit is contained in:
Jonas 'Sortie' Termansen 2015-08-12 23:35:33 +02:00
parent 802c12e64a
commit e4cd654236
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014.
Copyright(C) Jonas 'Sortie' Termansen 2013, 2014, 2015.
This file is part of Sortix libpthread.
@ -25,7 +25,7 @@
#include <pthread.h>
#include <string.h>
static const unsigned long DEFAULT_STACK_SIZE = 64 * 1024;
static const unsigned long DEFAULT_STACK_SIZE = 80 * 1024;
extern "C" int pthread_attr_init(pthread_attr_t* attr)
{