Provided by: libstdc++-10-doc_10.4.0-5ubuntu2_all bug

NAME

       std::this_thread - ISO C++ 2011 namespace for interacting with the current thread.

SYNOPSIS

   Functions
       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

Detailed Description

       ISO C++ 2011 namespace for interacting with the current thread.

       C++11 30.3.2 [thread.thread.this] Namespace this_thread.

Function Documentation

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

       Definition at line 365 of file thread.

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

       Definition at line 389 of file thread.

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

       Definition at line 411 of file thread.

   void std::this_thread::yield () [inline],  [noexcept]
       yield

       Definition at line 376 of file thread.

Author

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