mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
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:
parent
802c12e64a
commit
e4cd654236
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
This file is part of Sortix libpthread.
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <string.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)
|
extern "C" int pthread_attr_init(pthread_attr_t* attr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue