simple_partitioner Class

 

The simple_partitioner class represents a static partitioning of the range iterated over by parallel_for. The partitioner divides the range into chunks such that each chunk has at least the number of iterations specified by the chunk size.

class simple_partitioner;

Public Constructors

NameDescription
simple_partitioner::simple_partitioner ConstructorConstructs a simple_partitioner object.
simple_partitioner::~simple_partitioner DestructorDestroys a simple_partitioner object.

simple_partitioner

Header: ppl.h

Namespace: concurrency

Destroys a simple_partitioner object.

~simple_partitioner();

Constructs a simple_partitioner object.

explicit simple_partitioner(_Size_type _Chunk_size);

Parameters

_Chunk_size

concurrency Namespace

Show: