From: Anthony Geay Date: Mon, 7 Mar 2016 07:42:06 +0000 (+0100) Subject: Change threads default values. X-Git-Tag: V8_1_0a1~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d16c01e25882ecc630dce5f61bf81236b6f21db6;p=modules%2Fyacs.git Change threads default values. --- diff --git a/src/engine/Executor.cxx b/src/engine/Executor.cxx index ac8022682..1130df735 100644 --- a/src/engine/Executor.cxx +++ b/src/engine/Executor.cxx @@ -72,8 +72,8 @@ using YACS::BASES::Semaphore; //#define _DEVDEBUG_ #include "YacsTrace.hxx" -int Executor::_maxThreads(50); -size_t Executor::_threadStackSize(1048576); // Default thread stack size is 1MB +int Executor::_maxThreads(1000); +size_t Executor::_threadStackSize(262144); // Default thread stack size is 256 kB == 2**18 because threads launched by YACS are lightweight Executor::Executor():_nbOfConcurrentThreads(0), _semForMaxThreads(_maxThreads),_keepGoingOnFail(false),_DPLScopeSensitive(false) {