CurrentScheduler::Get Method

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.

Requirements

Header: concrt.h

Namespace: concurrency

Show:
© 2016 Microsoft