Changeset 595 for XIOS/trunk/src/node/grid.cpp
- Timestamp:
- 05/26/15 16:13:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.cpp
r593 r595 949 949 msg<<this->getId() ; 950 950 msg<<id ; 951 event.push(client->getServerLeader(),1,msg) ; 951 const std::list<int>& ranks = client->getRanksServerLeader(); 952 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 953 event.push(*itRank,1,msg); 952 954 client->sendEvent(event) ; 953 955 } … … 974 976 msg<<this->getId() ; 975 977 msg<<id ; 976 event.push(client->getServerLeader(),1,msg) ; 978 const std::list<int>& ranks = client->getRanksServerLeader(); 979 for (std::list<int>::const_iterator itRank = ranks.begin(), itRankEnd = ranks.end(); itRank != itRankEnd; ++itRank) 980 event.push(*itRank,1,msg); 977 981 client->sendEvent(event) ; 978 982 }
Note: See TracChangeset
for help on using the changeset viewer.