Udostępnij za pośrednictwem


ScheduleGroup Class

Represents an abstraction for a schedule group. Schedule groups organize a set of related work that benefits from being scheduled close together either temporally, by executing another task in the same group before moving to another group, or spatially, by executing multiple items within the same group on the same NUMA node or physical socket.

class ScheduleGroup;

Members

Public Methods

Name

Description

ScheduleGroup::Id Method

Returns an identifier for the schedule group that is unique within the scheduler to which the group belongs.

ScheduleGroup::Reference Method

Increments the schedule group's reference count.

ScheduleGroup::Release Method

Decrements this scheduler group's reference count.

ScheduleGroup::ScheduleTask Method

Schedules a light-weight task within the schedule group.

Protected Operators

Name

Description

ScheduleGroup::operator delete Operator

A ScheduleGroup object is destroyed internally by the runtime when all external references to it are released. It may not be explicitly deleted.

Inheritance Hierarchy

ScheduleGroup

Requirements

Header: concrt.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace

CurrentScheduler Class

Scheduler Class

Concepts

Task Scheduler (Concurrency Runtime)