#include <mutex>
#include <folly/gen/Base.h>
#include <folly/gen/Parallel-inl.h>
Go to the source code of this file.
|
template<class Container , class Iterator = typename Container::const_iterator, class Chunked = detail::ChunkedRangeSource<Iterator>> |
Chunked | folly::gen::chunked (const Container &container, int chunkSize=256) |
|
template<class Container , class Iterator = typename Container::iterator, class Chunked = detail::ChunkedRangeSource<Iterator>> |
Chunked | folly::gen::chunked (Container &container, int chunkSize=256) |
|
template<class Ops , class Parallel = detail::Parallel<Ops>> |
Parallel | folly::gen::parallel (Ops ops, size_t threads=0) |
|
template<class Sink , class Sub = detail::Sub<Sink>> |
Sub | folly::gen::sub (Sink sink) |
|
#define FOLLY_GEN_PARALLEL_H_ |