forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loop: add Sentinel iterator support to parallel_for_each()
before this change, we only support containers, whose `begin()` and `end()` are of the same type, but ranges do not have this requirement. in order to support range views, let's relax this requirement. so that, we can pass two iterators denoting a range to `parallel_for_each()`. see also b1b0bff. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters