Compartilhar via


Scheduler::ResetDefaultSchedulerPolicy Method

Resets the default scheduler policy to the runtime default. The next time a default scheduler is created, it will use the runtime default policy settings.

static void __cdecl ResetDefaultSchedulerPolicy();

Remarks

This method can be called while a default scheduler exists within the process. It will not affect the policy of the existing default scheduler. However, if the default scheduler were to shutdown, and a new default were to be created at a later point, the new scheduler would use the runtime default policy settings.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

Scheduler Class

Scheduler::SetDefaultSchedulerPolicy Method

SchedulerPolicy Class