Skip to content

Commit ed18cd3

Browse files
committed
common/ucx: call opal_progress when waiting for pmix_fence
Signed-off-by: Devendar Bureddy <devendar@nvidia.com>
1 parent 868eee3 commit ed18cd3

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
@@ -193,8 +193,10 @@ OPAL_DECLSPEC int opal_common_ucx_mca_pmix_fence(ucp_worker_h worker)
193193
return ret;
194194
}
195195

196-
while (!fenced) {
197-
ucp_worker_progress(worker);
196+
MCA_COMMON_UCX_PROGRESS_LOOP(worker) {
197+
if(fenced) {
198+
break;
199+
}
198200
}
199201

200202
return ret;

0 commit comments

Comments
 (0)