Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CurrentScheduler::GetPolicy Method

Returns a copy of the policy that the current scheduler was created with.

static SchedulerPolicy __cdecl GetPolicy();

A copy of the policy that that the current scheduler was created with.

This method will result in the process' default scheduler being created and/or attached to the calling context if there is no scheduler currently associated with the calling context.

Header: concrt.h

Namespace: concurrency

Show:
© 2015 Microsoft