libstdc++
Collaboration diagram for Threads:

Functions

bool std::operator!= (thread::id __x, thread::id __y) noexcept
 
bool std::operator< (thread::id __x, thread::id __y) noexcept
 
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__out, thread::id __id)
 
bool std::operator<= (thread::id __x, thread::id __y) noexcept
 
bool std::operator== (thread::id __x, thread::id __y) noexcept
 
bool std::operator> (thread::id __x, thread::id __y) noexcept
 
bool std::operator>= (thread::id __x, thread::id __y) noexcept
 
template<typename _Rep , typename _Period >
void std::this_thread::sleep_for (const chrono::duration< _Rep, _Period > &__rtime)
 
template<typename _Clock , typename _Duration >
void std::this_thread::sleep_until (const chrono::time_point< _Clock, _Duration > &__atime)
 
void std::swap (thread &__x, thread &__y) noexcept
 

Detailed Description

Classes for thread support.

Function Documentation

◆ sleep_for()

template<typename _Rep , typename _Period >
void std::this_thread::sleep_for ( const chrono::duration< _Rep, _Period > &  __rtime)
inline

this_thread::sleep_for

Definition at line 123 of file thread.

◆ sleep_until()

template<typename _Clock , typename _Duration >
void std::this_thread::sleep_until ( const chrono::time_point< _Clock, _Duration > &  __atime)
inline

this_thread::sleep_until

Definition at line 145 of file thread.