This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.