Share via


Scheduler::Scheduler Constructor

An object of the Scheduler class can only created using factory methods, or implicitly.

Scheduler();

Remarks

The process' default scheduler is created implicitly when you utilize many of the runtime functions which require a scheduler to be attached to the calling context. Methods within the CurrentScheduler class and features of the PPL and agents layers typically perform implicit attachment.

You can also create a scheduler explicitly through either the CurrentScheduler::Create method or the Scheduler::Create method.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

Scheduler Class

CurrentScheduler Class

CurrentScheduler::Create Method

Scheduler::Create Method