]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
FindOrStartParallelContainer -> StartParallelContainer
authorribes <ribes>
Thu, 2 Apr 2009 10:01:35 +0000 (10:01 +0000)
committerribes <ribes>
Thu, 2 Apr 2009 10:01:35 +0000 (10:01 +0000)
idl/SALOME_ContainerManager.idl
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx

index 32b8e364e0469e9ab01127fc5a9eaf19593c62c2..13b0d64fc9a43b79d5a4e73b46f13db5d112933f 100644 (file)
@@ -135,8 +135,9 @@ struct BatchParameters
 
       \return Container's CORBA reference.
     */
-    Container FindOrStartParallelContainer( in MachineParameters params,
-                                           in MachineList possibleComputers);
+    Container StartParallelContainer(in MachineParameters params,
+                                    in ResPolicy policy,
+                                    in MachineList possibleComputers);
 
     //!  Start a new container satisfying the constraints given by input parameters.
     Container StartContainer( in MachineParameters params,
index 6986108bab97b424ccd2e23bf151ac8d0d98b610..0d7e8b0f22943d9453024d4b4c416ac17800867e 100644 (file)
@@ -684,7 +684,7 @@ SALOME_LifeCycleCORBA::Load_ParallelComponent(const Engines::MachineParameters&
   }
 
   MESSAGE("Starting Parallel Container");
-  Engines::Container_var cont = _ContManager->FindOrStartParallelContainer(params, listOfMachines);
+  Engines::Container_var cont = _ContManager->StartParallelContainer(params, Engines::P_FIRST, listOfMachines);
   if (CORBA::is_nil(cont)) {
     INFOS("FindOrStartParallelContainer() returns a NULL container !");
     return Engines::Component::_nil();