libstdc++
atomic_wait.h File Reference

Go to the source code of this file.

Namespaces

 std
 
 std::__detail
 

Macros

#define __cpp_lib_atomic_wait
 

Typedefs

using std::__detail::__platform_wait_t = int
 

Functions

template<typename _Tp >
void std::__atomic_notify (const _Tp *__addr, bool __all) noexcept
 
template<typename _Pred >
bool std::__atomic_spin (_Pred &__pred) noexcept
 
template<typename _Tp , typename _Pred >
void std::__atomic_wait (const _Tp *__addr, _Tp __old, _Pred __pred) noexcept
 
void std::__detail::__thread_relax () noexcept
 
void std::__detail::__thread_yield () noexcept
 

Variables

constexpr auto std::__detail::__atomic_spin_count_1
 
constexpr auto std::__detail::__atomic_spin_count_2
 
template<typename _Tp >
constexpr bool std::__detail::__platform_wait_uses_type
 

Detailed Description

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

Definition in file atomic_wait.h.