]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Change threads default values.
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Mar 2016 07:42:06 +0000 (08:42 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Mar 2016 07:42:06 +0000 (08:42 +0100)
src/engine/Executor.cxx

index ac80226829746b2fb4df76361ef763e8b48cde94..1130df735062aadeef730193f6a9b1033b36314d 100644 (file)
@@ -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)
 {