Changeset 2525
- Timestamp:
- 06/27/23 11:08:52 (19 months ago)
- Location:
- XIOS3/branches/xios-3.0-beta/src/transport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/branches/xios-3.0-beta/src/transport/one_sided_context_server.cpp
r2524 r2525 102 102 if (flag==true) 103 103 { 104 requests_.push_back( CRequest(interCommMerged_, status)) ;105 if (requests_.back() .test())104 requests_.push_back(new CRequest(interCommMerged_, status)) ; 105 if (requests_.back()->test()) 106 106 { 107 processRequest(requests_.back()) ; 107 processRequest(*(requests_.back())) ; 108 delete requests_.back(); 108 109 requests_.pop_back() ; 109 110 } … … 117 118 while (it != requests_.end()) 118 119 { 119 if (it->test()) 120 { 121 processRequest(*it) ; 120 if ((*it)->test()) 121 { 122 processRequest(*(*it)) ; 123 delete (*it); 122 124 auto it2=it ; 123 125 ++it ; -
XIOS3/branches/xios-3.0-beta/src/transport/one_sided_context_server.hpp
r2343 r2525 106 106 MPI_Request processEventRequest_ ; 107 107 108 std::list<CRequest > requests_ ;108 std::list<CRequest*> requests_ ; 109 109 110 110 std::map<size_t, SPendingEvent> pendingEvents_ ;
Note: See TracChangeset
for help on using the changeset viewer.