Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CurrentScheduler::Get Method

Returns a pointer to the scheduler associated with the calling context, also referred to as the current scheduler.

static Scheduler * __cdecl Get();

A pointer to the scheduler associated with the calling context (the current scheduler).

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. No additional reference is placed on the Scheduler object returned by this method.

Header: concrt.h

Namespace: concurrency

Show:
© 2015 Microsoft