Ignore:
Timestamp:
08/29/23 17:24:04 (10 months ago)
Author:
ymipsl
Message:

Major update :

  • New method to lock and unlock one-sided windows (window_dynamic) to avoid network overhead
  • Introducing multithreading on server sided to manage more efficiently dead-lock occuring (similar to co-routine which will be available and implemented in futur c++ standard), based on c++ threads
  • Suprression of old "attached mode" which is replaced by online writer and reder filters

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/manager/pool_ressource.hpp

    r2523 r2547  
    3535    void createServiceOnto(const std::string& serviceId, int type, const std::string& OnServiceId) ; 
    3636    bool eventLoop(bool serviceOnly=false) ; 
     37    void threadEventLoop(void) ; 
    3738    bool hasService(const std::string serviceId, int partitionId) {return services_.count(make_tuple(serviceId,partitionId))>0 ;} 
    3839    CService* getService(const std::string serviceId, int partitionId) { return services_[make_tuple(serviceId,partitionId)]; } 
     
    5051    void createService(void) ; 
    5152    void createServiceOnto(void) ; 
     53    void synchronize(void) ; 
    5254     
    5355//    void createServiceNotify(int rank, const std::string& serviceId, int type, int size, int nbPartitions, bool in) ; 
     
    5860  public: 
    5961    void createNewServiceOnto(const std::string& serviceId, int type, const string& onServiceId) ; 
    60      
    61     private: 
     62   
     63  private: 
     64    bool finished_=false ; 
     65  public: 
     66    bool isFinished(void) { return finished_ ;} 
     67 
     68  private: 
    6269    MPI_Comm poolComm_ ; 
    6370     
     
    7481    std::string Id_ ; 
    7582    bool finalizeSignal_ ; 
    76      
     83         
    7784    const double eventLoopLatency_=0;  
    7885    double lastEventLoop_=0. ; 
    7986 
    8087    private: 
     88      size_t hashId_ ; 
    8189      shared_ptr<CEventScheduler> eventScheduler_ ; 
    8290      shared_ptr<CEventScheduler> freeRessourceEventScheduler_ ; 
Note: See TracChangeset for help on using the changeset viewer.