<thread>
Include the standard header <thread> to define the class thread and various supporting functions.
#include <thread>
|
Name |
Description |
|---|---|
|
Defines a member function that returns a value that is uniquely determined by a thread::id. The member function defines a hash function that is suitable for mapping values of type thread::id to a distribution of index values. |
|
Name |
Description |
|---|---|
|
Uniquely identifies the current thread of execution. |
|
|
Blocks the calling thread. |
|
|
Blocks the calling thread at least until the specified time. |
|
|
Exchanges the states of two thread objects. |
|
|
Signals the operating system to run other threads, even if the current thread would ordinarily continue to run. |
|
Name |
Description |
|---|---|
|
Determines whether one thread::id object is greater than or equal to another. |
|
|
Determines whether one thread::id object is greater than another. |
|
|
Determines whether one thread::id object is less than or equal to another. |
|
|
Determines whether one thread::id object is less than another. |
|
|
Compares two thread::id objects for inequality. |
|
|
Compares two thread::id objects for equality. |
|
|
Inserts a text representation of a thread::id object into a stream. |
Note