Skip to content

Commit

Permalink
Break out early (refer to issue #1910)
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Aug 11, 2022
1 parent c6dab4d commit b224931
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/messaging/active.cc
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ bool ActiveMessenger::recvDataMsg(
}

bool ActiveMessenger::tryProcessDataMsgRecv() {
if (pending_recvs_.size() == 0) {
return false;
}

bool erase = false;
auto iter = pending_recvs_.begin();

Expand Down

0 comments on commit b224931

Please sign in to comment.