Compartir a través de


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