Changeset 2454


Ignore:
Timestamp:
01/04/23 14:48:57 (2 years ago)
Author:
ymipsl
Message:

fix missing return.

YM

Location:
XIOS3/dev/XIOS_FILE_SERVICES/src/manager
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/dev/XIOS_FILE_SERVICES/src/manager/ressources_manager.cpp

    r2453 r2454  
    249249  bool CRessourcesManager::decreasePoolFreeSize(const string& poolId, int size) 
    250250  { 
    251     int ret ; 
     251    bool ret ; 
    252252 
    253253    winRessources_->lockWindow(managerGlobalLeader_,0) ; 
     
    264264    } 
    265265    winRessources_->updateToWindow(managerGlobalLeader_, this, &CRessourcesManager::ressourcesDumpOut) ; 
    266     winRessources_->unlockWindow(managerGlobalLeader_,0) ;     
     266    winRessources_->unlockWindow(managerGlobalLeader_,0) ;  
     267 
     268    return ret ;    
    267269  } 
    268270 
  • XIOS3/dev/XIOS_FILE_SERVICES/src/manager/services_manager.cpp

    r2453 r2454  
    307307  } 
    308308  
    309   bool CServicesManager::waitServiceRegistration(const std::string& poolId, const std::string& serviceId, const int& partitionId) 
     309  void CServicesManager::waitServiceRegistration(const std::string& poolId, const std::string& serviceId, const int& partitionId) 
    310310  { 
    311311    while(!hasService(poolId,serviceId,partitionId)) CXios::getDaemonsManager()->servicesEventLoop() ; 
  • XIOS3/dev/XIOS_FILE_SERVICES/src/manager/services_manager.hpp

    r2453 r2454  
    4848    bool getServiceNbPartitions(const std::string& poolId, const std::string& serviceId, const int& partitionId, int& nbPartition, bool wait=false) ; 
    4949    bool hasService(const std::string& poolId, const std::string& serviceId, const int& partitionId) ; 
    50     bool waitServiceRegistration(const std::string& poolId, const std::string& serviceId, const int& partitionId); 
     50    void waitServiceRegistration(const std::string& poolId, const std::string& serviceId, const int& partitionId); 
    5151    void servicesDumpOut(CBufferOut& buffer) ; 
    5252    void servicesDumpIn(CBufferIn& buffer) ; 
Note: See TracChangeset for help on using the changeset viewer.