Compartir a través de


IScheduler::GetId Method

Returns a unique identifier for the scheduler.

virtual unsigned int GetId() const =0;

Return Value

A unique integer identifier.

Remarks

You should use the GetSchedulerId function to obtain a unique identifier for the object that implements the IScheduler interface, before you use the interface as a parameter to methods supplied by the Resource Manager. You are expected to return the same identifier when the GetId function is invoked.

An identifier obtained from a different source could result in undefined behavior.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IScheduler Structure