แก้ไข

แชร์ผ่าน


static_partitioner Class

The static_partitioner class represents a static partitioning of the range iterated over by parallel_for. The partitioner divides the range into as many chunks as there are workers available to the underlying scheduler.

Syntax

class static_partitioner;

Members

Public Constructors

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

Inheritance Hierarchy

static_partitioner

Requirements

Header: ppl.h

Namespace: concurrency

~static_partitioner

Destroys a static_partitioner object.

~static_partitioner();

static_partitioner

Constructs a static_partitioner object.

static_partitioner();

See also

concurrency Namespace