YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::fiber::AtomicWait< T > Class Template Reference

#include <atomic_wait.hpp>

Inheritance diagram for yaclib::detail::fiber::AtomicWait< T >:
[legend]
Collaboration diagram for yaclib::detail::fiber::AtomicWait< T >:
[legend]

Public Member Functions

 AtomicWait () noexcept=default
 
constexpr AtomicWait (T desired) noexcept
 
operator= (T desired) volatile noexcept
 
operator= (T desired) noexcept
 
bool is_lock_free () const volatile noexcept
 
bool is_lock_free () const noexcept
 

Static Public Attributes

static constexpr bool is_always_lock_free = true
 

Protected Attributes

_value
 

Detailed Description

template<typename T>
class yaclib::detail::fiber::AtomicWait< T >

Definition at line 10 of file atomic_wait.hpp.

Constructor & Destructor Documentation

◆ AtomicWait() [1/2]

template<typename T >
yaclib::detail::fiber::AtomicWait< T >::AtomicWait ( )
defaultnoexcept

◆ AtomicWait() [2/2]

template<typename T >
constexpr yaclib::detail::fiber::AtomicWait< T >::AtomicWait ( desired)
inlineconstexprnoexcept

Definition at line 14 of file atomic_wait.hpp.

Member Function Documentation

◆ is_lock_free() [1/2]

template<typename T >
bool yaclib::detail::fiber::AtomicWait< T >::is_lock_free ( ) const
inlinenoexcept

Definition at line 29 of file atomic_wait.hpp.

◆ is_lock_free() [2/2]

template<typename T >
bool yaclib::detail::fiber::AtomicWait< T >::is_lock_free ( ) const volatile
inlinenoexcept

Definition at line 25 of file atomic_wait.hpp.

◆ operator=() [1/2]

template<typename T >
T yaclib::detail::fiber::AtomicWait< T >::operator= ( desired)
inlinenoexcept

◆ operator=() [2/2]

template<typename T >
T yaclib::detail::fiber::AtomicWait< T >::operator= ( desired) volatile
inlinenoexcept

Member Data Documentation

◆ _value

◆ is_always_lock_free

template<typename T >
constexpr bool yaclib::detail::fiber::AtomicWait< T >::is_always_lock_free = true
staticconstexpr

Definition at line 33 of file atomic_wait.hpp.


The documentation for this class was generated from the following file: