Skip to content

Commit 5980bac

Browse files
authored
Merge pull request #11143 from bureddy/v4.1.x
common/ucx: call opal_progress when waiting for pmix_fence
2 parents f46e357 + 3acc9b5 commit 5980bac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

opal/mca/common/ucx/common_ucx.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,10 @@ OPAL_DECLSPEC int opal_common_ucx_mca_pmix_fence(ucp_worker_h worker)
416416
return ret;
417417
}
418418

419-
while (!fenced) {
420-
ucp_worker_progress(worker);
419+
MCA_COMMON_UCX_PROGRESS_LOOP(worker) {
420+
if(fenced) {
421+
break;
422+
}
421423
}
422424

423425
return ret;

0 commit comments

Comments
 (0)