thread::id Class

Provides a unique identifier for each thread of execution in the process.

class thread::id {
   id() _NOEXCEPT;

The default constructor creates an object that does not compare equal to the thread::id object for any existing thread.

All default-constructed thread::id objects compare equal.

Header: thread

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft