DOKK / manpages / debian 10 / libstdc++-8-doc / std::this_thread.3cxx.en
std::this_thread(3cxx) std::this_thread(3cxx)

std::this_thread - ISO C++ 2011 entities sub-namespace for thread. 30.3.2 Namespace this_thread.


void __sleep_for (chrono::seconds, chrono::nanoseconds)
thread::id get_id () noexcept
get_id template<typename _Rep , typename _Period > void sleep_for (const chrono::duration< _Rep, _Period > &__rtime)
sleep_for template<typename _Clock , typename _Duration > void sleep_until (const chrono::time_point< _Clock, _Duration > &__atime)
sleep_until void yield () noexcept
yield

ISO C++ 2011 entities sub-namespace for thread. 30.3.2 Namespace this_thread.

thread::id std::this_thread::get_id () [inline], [noexcept]

get_id

Definition at line 339 of file thread.

sleep_for

Definition at line 367 of file thread.

sleep_until

Definition at line 389 of file thread.

yield

Definition at line 354 of file thread.

Generated automatically by Doxygen for libstdc++ from the source code.

Sat Apr 6 2019 libstdc++