[Chapel Merge] Use fi_cntr_wait to wait for a completion counter

Branch: refs/heads/main
Revision: 0130775
Author: jhh67
Link: Use fi_cntr_wait when waiting on a completion counter by jhh67 · Pull Request #19593 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19593 from jhh67/T2751.1

Use fi_cntr_wait to wait for a completion counter to increment instead of spinning on fi_cntr_read. This should reduce overhead with the cxi provider.

[Reviewed by @ronawho and @gbtitus]

Modified Files:
M runtime/src/comm/ofi/comm-ofi.c

Compare: https://github.com/chapel-lang/chapel/compare/1e101e49de58...01307759de1c