Skip to content

Commit 15ba702

Browse files
authored
Merge pull request #11144 from bureddy/master
common/ucx: call opal_progress when waiting for pmix_fence
2 parents c498706 + ed18cd3 commit 15ba702

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
@@ -396,8 +396,10 @@ OPAL_DECLSPEC int opal_common_ucx_mca_pmix_fence(ucp_worker_h worker)
396396
return ret;
397397
}
398398

399-
while (!fenced) {
400-
ucp_worker_progress(worker);
399+
MCA_COMMON_UCX_PROGRESS_LOOP(worker) {
400+
if(fenced) {
401+
break;
402+
}
401403
}
402404

403405
return ret;

0 commit comments

Comments
 (0)