SchedulerPolicy::operator= Operator

Assigns the scheduler policy from another scheduler policy.

SchedulerPolicy& operator=(
   const SchedulerPolicy& _RhsPolicy
);

Parameters

  • _RhsPolicy
    The policy to assign to this policy.

Return Value

A reference to the scheduler policy.

Remarks

Often, the most convenient way to define a new scheduler policy is to copy an existing policy and modify it using the SetPolicyValue or SetConcurrencyLimits methods.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

SchedulerPolicy Class

SchedulerPolicy::SetPolicyValue Method

SchedulerPolicy::SetConcurrencyLimits Method

PolicyElementKey Enumeration