Ignore:
Timestamp:
01/25/23 16:59:46 (17 months ago)
Author:
ymipsl
Message:

Merge XIOS_FILE_SERVICE dev branch into trunk

YM

Location:
XIOS3/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk

  • XIOS3/trunk/src/manager/ressources_manager.hpp

    r2260 r2458  
    1111#include "window_manager.hpp" 
    1212#include "pool_ressource.hpp" 
     13#include "token_manager.hpp" 
    1314 
    1415 
     
    4546    int  getRessourcesSize(void) ; 
    4647    int  getFreeRessourcesSize(void) ; 
    47     bool getPoolInfo(const string& poolId, int& size, int& leader) ; 
     48    bool getPoolInfo(const string& poolId, int& size, int& freeSize, int& leader) ; 
    4849    bool getPoolLeader(const string& poolId, int& leader) ; 
    4950    bool getPoolSize(const string& poolId, int& size) ; 
     51    bool getPoolFreeSize(const string& poolId, int& freeSize) ; 
    5052    bool hasPool(const string& poolId) ; 
     53    bool decreasePoolFreeSize(const string& poolId, int size) ; 
     54    void waitPoolRegistration(const string& poolId) ; 
     55     
    5156 
    5257    void registerServerLeader(int leaderRank) ; 
    5358    void registerRessourcesSize(int size) ; 
    54     void registerPool(const std::string& poolId,int size,int leader) ; 
     59    void registerPoolClient(const std::string& poolId,int size,int leader) ; 
     60    void registerPoolServer(const std::string& poolId,int size,int leader) ; 
     61    CTokenManager* getTokenManager(void) {return tokenManager_ ;}  
    5562 
    5663    int managerGlobalLeader_ ; 
     
    5966 
    6067    CWindowManager* winNotify_ ; 
     68    CTokenManager* tokenManager_ ; 
    6169 
    6270    const size_t maxBufferSize_=1024*1024 ; 
     
    6775    tuple<std::string, int> notifyCreatePool_ ; 
    6876 
    69     std::map<std::string, std::tuple<int,int>> pools_ ; 
     77    std::map<std::string, std::tuple<int,int,int>> pools_ ; 
    7078    int serverLeader_ ; 
    7179    int ressourcesSize_ ; 
Note: See TracChangeset for help on using the changeset viewer.