Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a unique identifier for the current scheduler.
_CRTIMP static unsigned int __cdecl Id();
Return Value
If a scheduler is associated with the calling context, a unique identifier for that scheduler; otherwise, the value -1.
Remarks
This method will not result in scheduler attachment if the calling context is not already associated with a scheduler.
Requirements
Header: concrt.h
Namespace: Concurrency