Changeset 2454
- Timestamp:
- 01/04/23 14:48:57 (2 years ago)
- 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 249 249 bool CRessourcesManager::decreasePoolFreeSize(const string& poolId, int size) 250 250 { 251 intret ;251 bool ret ; 252 252 253 253 winRessources_->lockWindow(managerGlobalLeader_,0) ; … … 264 264 } 265 265 winRessources_->updateToWindow(managerGlobalLeader_, this, &CRessourcesManager::ressourcesDumpOut) ; 266 winRessources_->unlockWindow(managerGlobalLeader_,0) ; 266 winRessources_->unlockWindow(managerGlobalLeader_,0) ; 267 268 return ret ; 267 269 } 268 270 -
XIOS3/dev/XIOS_FILE_SERVICES/src/manager/services_manager.cpp
r2453 r2454 307 307 } 308 308 309 boolCServicesManager::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) 310 310 { 311 311 while(!hasService(poolId,serviceId,partitionId)) CXios::getDaemonsManager()->servicesEventLoop() ; -
XIOS3/dev/XIOS_FILE_SERVICES/src/manager/services_manager.hpp
r2453 r2454 48 48 bool getServiceNbPartitions(const std::string& poolId, const std::string& serviceId, const int& partitionId, int& nbPartition, bool wait=false) ; 49 49 bool hasService(const std::string& poolId, const std::string& serviceId, const int& partitionId) ; 50 boolwaitServiceRegistration(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); 51 51 void servicesDumpOut(CBufferOut& buffer) ; 52 52 void servicesDumpIn(CBufferIn& buffer) ;
Note: See TracChangeset
for help on using the changeset viewer.