Redigeeri

Jagamisviis:


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.

Syntax

class simple_partitioner;

Members

Public Constructors

Name Description
simple_partitioner Constructs a simple_partitioner object.
~simple_partitioner Destructor Destroys a simple_partitioner object.

Inheritance Hierarchy

simple_partitioner

Requirements

Header: ppl.h

Namespace: concurrency

~simple_partitioner

Destroys a simple_partitioner object.

~simple_partitioner();

simple_partitioner

Constructs a simple_partitioner object.

explicit simple_partitioner(_Size_type _Chunk_size);

Parameters

_Chunk_size
The minimum partition size.

See also

concurrency Namespace