Skip to content

Commit

Permalink
Merge pull request open-mpi#11143 from bureddy/v4.1.x
Browse files Browse the repository at this point in the history
common/ucx: call opal_progress when waiting for pmix_fence
  • Loading branch information
jsquyres authored Dec 5, 2022
2 parents f46e357 + 3acc9b5 commit 5980bac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions opal/mca/common/ucx/common_ucx.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,10 @@ OPAL_DECLSPEC int opal_common_ucx_mca_pmix_fence(ucp_worker_h worker)
return ret;
}

while (!fenced) {
ucp_worker_progress(worker);
MCA_COMMON_UCX_PROGRESS_LOOP(worker) {
if(fenced) {
break;
}
}

return ret;
Expand Down

0 comments on commit 5980bac

Please sign in to comment.