Skip to content

Commit

Permalink
Merge pull request #7972 from huaxiangfan/port-pr7662
Browse files Browse the repository at this point in the history
APPS/IODEMO: fix progress loop - v1.12.x
  • Loading branch information
yosefe authored Feb 23, 2022
2 parents bfc3a50 + fc75ffb commit ce16c7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/apps/iodemo/ucx_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,10 @@ void UcxContext::progress(unsigned count)
{
int i = 0;

while ((i++ < count) && progress_worker_event()) {
progress_worker_event();
do {
progress_io_message();
}
} while ((++i < count) && progress_worker_event());

progress_timed_out_conns();
progress_conn_requests();
Expand Down

0 comments on commit ce16c7f

Please sign in to comment.