From: ribes Date: Thu, 2 Apr 2009 10:01:35 +0000 (+0000) Subject: FindOrStartParallelContainer -> StartParallelContainer X-Git-Tag: new_launcher_alpha_091119~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8eeb247d71fb6de0a0e59521bbf0f665ecf41461;p=modules%2Fkernel.git FindOrStartParallelContainer -> StartParallelContainer --- 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();