SchedulerPolicy Class
The SchedulerPolicy class contains a set of key/value pairs, one for each policy element, that control the behavior of a scheduler instance.
class SchedulerPolicy;
Members
Public Constructors
Name |
Description |
---|---|
Overloaded. Constructs a new scheduler policy and populates it with values for policy keys supported by Concurrency Runtime schedulers and the Resource Manager. |
|
Destroys a scheduler policy. |
Public Methods
Name |
Description |
---|---|
Retrieves the value of the policy key supplied as the _Key parameter. |
|
Simultaneously sets the MinConcurrency and MaxConcurrency policies on the SchedulerPolicy object. |
|
Sets the value of the policy key supplied as the _Key parameter and returns the old value. |
Public Operators
Name |
Description |
---|---|
Assigns the scheduler policy from another scheduler policy. |
Remarks
For more information about the policies which can be controlled using the SchedulerPolicy class, see PolicyElementKey Enumeration.
Inheritance Hierarchy
SchedulerPolicy
Requirements
Header: concrt.h, concrtrm.h
Namespace: concurrency