Compartir a través de


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();

Return Value

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

Remarks

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

See Also

Reference

CurrentScheduler Class