From ac0487eb66c07934cb13791ad625e86d580e8ab0 Mon Sep 17 00:00:00 2001 From: Eric Wild Date: Mon, 17 Jun 2019 13:02:44 +0200 Subject: Add option to set stack size in config file, default == 0 == OS default Change-Id: Id752f6b5ce9a96a67cd1ff835687ce0e03d3a50d --- CommonLibs/Threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CommonLibs/Threads.h') diff --git a/CommonLibs/Threads.h b/CommonLibs/Threads.h index 4c5b9ee..8a6ba47 100644 --- a/CommonLibs/Threads.h +++ b/CommonLibs/Threads.h @@ -158,7 +158,7 @@ class Thread { public: /** Create a thread in a non-running state. */ - Thread(size_t wStackSize = (65536*4)):mThread((pthread_t)0) { + Thread(size_t wStackSize = 0):mThread((pthread_t)0) { pthread_attr_init(&mAttrib); // (pat) moved this here. mStackSize=wStackSize; } -- cgit v1.2.3