Megosztás a következőn keresztül:


Scheduler::ResetDefaultSchedulerPolicy Method

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

_CRTIMP static void __cdecl ResetDefaultSchedulerPolicy();

Remarks

This method may 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's default policy settings.

Requirements

Header: concrt.h

Namespace: Concurrency

See Also

Reference

Scheduler Class

Scheduler::SetDefaultSchedulerPolicy Method

SchedulerPolicy Class