Ignore:
Timestamp:
08/29/23 17:24:04 (11 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/buffer_server.hpp

    r2323 r2547  
    77#include "mpi.hpp" 
    88#include "cxios.hpp" 
     9#include "window_dynamic.hpp" 
     10 
    911 
    1012namespace xios 
     
    1315  { 
    1416    public: 
    15       CServerBuffer(vector<MPI_Win>& windows, vector<MPI_Aint>& winAddress, int windowsRank, StdSize bufSize) ; 
     17      CServerBuffer(vector<CWindowDynamic*>& windows, vector<MPI_Aint>& winAddress, int windowsRank, StdSize bufSize) ; 
    1618      ~CServerBuffer() ; 
    1719 
     
    3739      size_t size; 
    3840      size_t used ;  // count of element occupied 
    39       std::vector<MPI_Win> windows_ ; 
     41      std::vector<CWindowDynamic*> windows_ ; 
    4042      std::vector<MPI_Aint> winAddress_ ; 
    4143      bool resizingBuffer_ = false ; 
Note: See TracChangeset for help on using the changeset viewer.