Scheduler::IsAvailableLocation Method

Determines whether a given ___location is available on the scheduler.

virtual bool IsAvailableLocation(
   const ___location& _Placement
) const =0;

Parameters

  • _Placement
    A reference to the ___location to query the scheduler about.

Return Value

An indication of whether or not the ___location specified by the _Placement argument is available on the scheduler.

Remarks

Note that the return value is an instantaneous sampling of whether the given ___location is available. In the presence of multiple schedulers, dynamic resource management can add or take away resources from schedulers at any point. Should this happen, the given ___location can change availability.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

Scheduler Class