Skip to content

Commit

Permalink
Merge pull request #7662 from evgeny-leksikov/io_demo_progress_fix
Browse files Browse the repository at this point in the history
IODEMO: fix progress loop
  • Loading branch information
evgeny-leksikov authored Nov 18, 2021
2 parents 9c4b1d4 + faf5f43 commit a52e464
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 a52e464

Please sign in to comment.