aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/Threads.h
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2019-06-17 13:02:44 +0200
committerEric Wild <ewild@sysmocom.de>2019-06-17 14:41:34 +0200
commitac0487eb66c07934cb13791ad625e86d580e8ab0 (patch)
treec46bdbad011d71b3b7bf31e05290d9d81c995011 /CommonLibs/Threads.h
parent6a305feb0f7bdcae9d0552e5d2bca9c48ec2e63f (diff)
Add option to set stack size in config file, default == 0 == OS default
Diffstat (limited to 'CommonLibs/Threads.h')
-rw-r--r--CommonLibs/Threads.h2
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;
}