Share via


IExecutionResource::GetExecutionResourceId Method

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

virtual unsigned int GetExecutionResourceId() const =0;

Return Value

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

Remarks

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.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IExecutionResource Structure