Skip to content

Commit

Permalink
Merge pull request #1926 from DARMA-tasking/1910-break-out-of-tryproc…
Browse files Browse the repository at this point in the history
…essdata-in-am-early

1910 Break out early
  • Loading branch information
PhilMiller authored Aug 24, 2022
2 parents 397dc80 + 8b3b6dc commit 71c1f28
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 @@ -654,6 +654,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 71c1f28

Please sign in to comment.