Ignore:
Timestamp:
03/22/18 10:43:20 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with XIOS_DEV_CMIP6@1459

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/context_client.hpp

    r1205 r1460  
    4040      bool checkBuffers(void); 
    4141      void releaseBuffers(void); 
     42      bool havePendingRequests(void); 
    4243 
    4344      bool isServerLeader(void) const; 
     
    4748 
    4849      bool isAttachedModeEnabled() const; 
    49  
    5050      bool hasTemporarilyBufferedEvent() const { return !tmpBufferedEvent.isEmpty(); }; 
    5151 
     52      static void computeLeader(int clientRank, int clientSize, int serverSize, 
     53                                std::list<int>& rankRecvLeader, 
     54                                std::list<int>& rankRecvNotLeader); 
     55 
    5256      // Close and finalize context client 
    53       void closeContext(void); 
     57//      void closeContext(void);  Never been implemented. 
    5458      void finalize(void); 
    5559 
     
    106110      std::list<int> ranksServerNotLeader; 
    107111 
    108     public: // Some function should be removed in the future 
    109       //    void registerEvent(CEventClient& event); 
    110 //    list<CBufferOut*> newEvent(CEventClient& event,list<int>& sizes); 
    111 //    bool locked; 
    112 //    set<int> connectedServer; 
    113  
    114112  }; 
    115113} 
Note: See TracChangeset for help on using the changeset viewer.