Include the standard header <thread> to define the class
thread and various supporting functions.
In code that is compiled by using /clr, this header is blocked.
__STDCPP_THREADS__ macro is defined as a nonzero value to indicate that threads are supported by this header.
|thread Class||Defines an object that is used to observe and manage a thread of execution in an application.|
|hash Structure (C++ Standard Library)||Defines a member function that returns a value that is uniquely determined by a
|get_id||Uniquely identifies the current thread of execution.|
|sleep_for||Blocks the calling thread.|
|sleep_until||Blocks the calling thread at least until the specified time.|
|swap||Exchanges the states of two
|yield||Signals the operating system to run other threads, even if the current thread would ordinarily continue to run.|
|operator>= Operator||Determines whether one
|operator> Operator||Determines whether one
|operator<= Operator||Determines whether one
|operator< Operator||Determines whether one
|operator!= Operator||Compares two
|operator== Operator||Compares two
|operator<< Operator||Inserts a text representation of a
Submit and view feedback for