| description | Learn more about: location Class | |||||
|---|---|---|---|---|---|---|
| title | location Class | |||||
| ms.date | 11/04/2016 | |||||
| f1_keywords |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | c3289f51-5bf1-4dff-a18d-d0dab8e5d9c7 |
An abstraction of a physical location on hardware.
class location;| Name | Description |
|---|---|
| location | Overloaded. Constructs a location object. |
| ~location Destructor | Destroys a location object. |
| Name | Description |
|---|---|
| current | Returns a location object representing the most specific place the calling thread is executing. |
| from_numa_node | Returns a location object which represents a given NUMA node. |
| Name | Description |
|---|---|
| operator!= | Determines whether two location objects represent different location. |
| operator= | Assigns the contents of a different location object to this one. |
| operator== | Determines whether two location objects represent the same location. |
location
Header: concrt.h
Namespace: concurrency
Destroys a location object.
~location();Returns a location object representing the most specific place the calling thread is executing.
static location __cdecl current();A location representing the most specific place the calling thread is executing.
Returns a location object which represents a given NUMA node.
static location __cdecl from_numa_node(unsigned short _NumaNodeNumber);_NumaNodeNumber
The NUMA node number to construct a location for.
A location representing the NUMA node specified by the _NumaNodeNumber parameter.
Constructs a location object.
location();
location(
const location& _Src);
location(
T _LocationType,
unsigned int _Id,
unsigned int _BindingId = 0,
_Inout_opt_ void* _PBinding = NULL);_Src
_LocationType
_Id
_BindingId
_PBinding
(Optional) Binding pointer.
A default constructed location represents the system as a whole.
Determines whether two location objects represent different location.
bool operator!= (const location& _Rhs) const;_Rhs
Operand location.
true if the two locations are different, false otherwise.
Assigns the contents of a different location object to this one.
location& operator= (const location& _Rhs);_Rhs
The source location object.
Determines whether two location objects represent the same location.
bool operator== (const location& _Rhs) const;_Rhs
Operand location.
true if the two locations are identical, and false otherwise.