Skip to content

Commit

Permalink
UCS/ASYNC: fix code according to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zizhao committed Jul 2, 2024
1 parent 80f89f0 commit ec7637b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ucs/datastruct/mpmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void ucs_mpmc_queue_remove_if(ucs_mpmc_queue_t *mpmc,
ucs_queue_for_each_safe(elem, iter, &mpmc->queue, super) {
if (predicate(elem->value, arg)) {
ucs_queue_del_iter(&mpmc->queue, iter);
ucs_free(elem);
}
}
ucs_spin_unlock(&mpmc->lock);
Expand Down

0 comments on commit ec7637b

Please sign in to comment.