Increase default stack size for *nix

This commit is contained in:
z3APA3A committed 2016-02-20 09:11:03 +03:00
1 parent f8a7266bdf
commit 5c5f4e258f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -508,7 +508,7 @@ int MODULEMAINFUNC (int argc, char** argv){
#ifndef _WIN32
pthread_attr_init(&pa);
pthread_attr_setstacksize(&pa,PTHREAD_STACK_MIN + (8192 + srv.stacksize));
pthread_attr_setstacksize(&pa,PTHREAD_STACK_MIN + (16384 + srv.stacksize));
pthread_attr_setdetachstate(&pa,PTHREAD_CREATE_DETACHED);
#endif