New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename when_n/wait_n, add when_xxx_n/wait_xxx_n #1157

hkaiser opened this Issue Jun 15, 2014 · 0 comments


None yet
2 participants

hkaiser commented Jun 15, 2014

We should rename the existing functions when_n/wait_n to when_some/wait_some (or similar). This would allow to introduce new API functions which take an iterator and the number of elements instead of a pair of iterators:

  • when_all_n/wait_all_n
  • when_any_n/wait_any_n
  • when_some_n/wait_some_n

Using the suffix _n for this conforms to the way algorithms are named in STL. The new wait_xxx_n versions should return an iterator referring to the first element after the last input element.

@hkaiser hkaiser added this to the 0.9.9 milestone Jun 15, 2014

@K-ballo K-ballo referenced this issue Jun 15, 2014


Replace uses of hpx::lcos::wait #1050

2 of 3 tasks complete

@hkaiser hkaiser closed this in d802605 Jun 16, 2014

hkaiser added a commit that referenced this issue Jun 17, 2014

Fixed #1157: Rename when_n/wait_n, add when_xxx_n/wait_xxx_n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment