Salome HOME
Fix missing returns.
[modules/yacs.git] / src / runtime / SalomeContainerHelper.hxx
index 74c7d0dcd3a805322d9d9a49a5ed76eec471382f..5b633f69714e796ac60024e9ff45bb68f19274f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -29,6 +29,7 @@
 
 #include <map>
 #include <string>
+#include <mutex>
 
 namespace YACS
 {
@@ -89,7 +90,9 @@ namespace YACS
       static const char TYPE_NAME[];
       static const char DFT_LAUNCH_MODE[];
     private:
-      std::map<const ComponentInstance *,Engines::Container_var> _trueContainers;
+      std::map<const ComponentInstance *,Engines::Container_var> _containersForComponents;
+      std::map<const Task *,Engines::Container_var> _containersForTasks;
+      mutable std::mutex _data_mutex;
     };
   }
 }