Export (0) Print
Expand All

IScheduler::GetId Method

Returns a unique identifier for the scheduler.

virtual unsigned int GetId() const =0;

A unique integer identifier.

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.

Header: concrtrm.h

Namespace: Concurrency

Community Additions

© 2014 Microsoft