Export (0) Print
Expand All

Context::GetScheduleGroupId Method

Returns an identifier for the schedule group that the context is currently working on.

virtual unsigned int GetScheduleGroupId() const =0;

An identifier for the schedule group the context is currently working on.

The return value from this method is an instantaneous sampling of the schedule group that the context is executing on. If this method is called on a context other than the current context, the value can be stale the moment it is returned and cannot be relied upon. Typically, this method is used for debugging or tracing purposes only.

Header: concrt.h

Namespace: concurrency

Show:
© 2014 Microsoft