logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

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

                                                    libstdc++                                 std_thread.h(3cxx)

Detailed Description

       This is an internal header file, included by other library headers. Do not attempt to use it directly.
       Instead, include <thread>.

Name

       std_thread.h

Synopsis

Classes
       struct std::hash<thread::id>
           std::hash specialization for thread::id.
       class std::thread::id
       class std::threadNamespaces
       namespace std
           ISO C++ entities toplevel namespace is std.
       namespace std::this_thread
           ISO C++ 2011 namespace for interacting with the current thread.

   Functionsthread::idstd::this_thread::get_id () noexcept
           The unique identifier of the current thread.
       voidstd::this_thread::yield () noexcept
           Allow the implementation to schedule a different thread.

See Also