if(opened_==0){//check that post/start has been done
// no fence or start .. lock ok ?
int locked=0;
- for(auto it : recv_win->lockers_)
+ for (auto const& it : recv_win->lockers_)
if (it == comm_->rank())
locked = 1;
if(locked != 1)
if(opened_==0){//check that post/start has been done
// no fence or start .. lock ok ?
int locked=0;
- for(auto it : send_win->lockers_)
+ for (auto const& it : send_win->lockers_)
if (it == comm_->rank())
locked = 1;
if(locked != 1)
if(opened_==0){//check that post/start has been done
// no fence or start .. lock ok ?
int locked=0;
- for(auto it : recv_win->lockers_)
+ for (auto const& it : recv_win->lockers_)
if (it == comm_->rank())
locked = 1;
if(locked != 1)
if(opened_==0){//check that post/start has been done
// no fence or start .. lock ok ?
int locked=0;
- for(auto it : send_win->lockers_)
+ for (auto const& it : send_win->lockers_)
if (it == comm_->rank())
locked = 1;
if(locked != 1)
if(opened_==0){//check that post/start has been done
// no fence or start .. lock ok ?
int locked=0;
- for(auto it : send_win->lockers_)
+ for (auto const& it : send_win->lockers_)
if (it == comm_->rank())
locked = 1;
if(locked != 1)