Determines whether a given ___location is available on the current scheduler.
static bool __cdecl IsAvailableLocation(
const ___location& _Placement
);
Parameters
- _Placement
A reference to the ___location to query the current scheduler about.
Return Value
An indication of whether or not the ___location specified by the _Placement argument is available on the current scheduler.
Remarks
This method will not result in scheduler attachment if the calling context is not already associated with a scheduler.
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