Export (0) Print
Expand All

IExecutionResource::GetExecutionResourceId Method

Returns a unique identifier for the hardware thread that this execution resource represents.

virtual unsigned int GetExecutionResourceId() const =0;

A unique identifier for the hardware thread underlying this execution resource.

Each hardware thread is assigned a unique identifier by the Concurrency Runtime. If multiple execution resources are associated hardware thread, they will all have the same execution resource identifier.

Header: concrtrm.h

Namespace: concurrency

Show:
© 2015 Microsoft