From 8eeb247d71fb6de0a0e59521bbf0f665ecf41461 Mon Sep 17 00:00:00 2001 From: ribes Date: Thu, 2 Apr 2009 10:01:35 +0000 Subject: [PATCH] FindOrStartParallelContainer -> StartParallelContainer --- idl/SALOME_ContainerManager.idl | 5 +++-- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/idl/SALOME_ContainerManager.idl b/idl/SALOME_ContainerManager.idl index 32b8e364e..13b0d64fc 100644 --- a/idl/SALOME_ContainerManager.idl +++ b/idl/SALOME_ContainerManager.idl @@ -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, diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index 6986108ba..0d7e8b0f2 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -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(); -- 2.39.2