diff options
author | Eric Wild <ewild@sysmocom.de> | 2019-06-17 13:02:44 +0200 |
---|---|---|
committer | Eric Wild <ewild@sysmocom.de> | 2019-06-17 14:41:34 +0200 |
commit | ac0487eb66c07934cb13791ad625e86d580e8ab0 (patch) | |
tree | c46bdbad011d71b3b7bf31e05290d9d81c995011 /CommonLibs/Threads.h | |
parent | 6a305feb0f7bdcae9d0552e5d2bca9c48ec2e63f (diff) |
Add option to set stack size in config file, default == 0 == OS default
Change-Id: Id752f6b5ce9a96a67cd1ff835687ce0e03d3a50d
Diffstat (limited to 'CommonLibs/Threads.h')
-rw-r--r-- | CommonLibs/Threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |