3#include <yaclib/config.hpp>
36 void wait(T
old, std::memory_order)
const noexcept {
41 void wait(T
old, std::memory_order)
const volatile noexcept {
51 const_cast<FiberQueue*
>(&_queue)->NotifyOne();
58 const_cast<FiberQueue*
>(&_queue)->NotifyAll();
bool is_lock_free() const noexcept
T operator=(T desired) noexcept
bool is_lock_free() const volatile noexcept
T operator=(T desired) volatile noexcept
static constexpr bool is_always_lock_free
AtomicWait() noexcept=default
Contract< V, E > MakeContract()
Creates related future and promise.
YACLIB_INLINE void Wait(FutureBase< V, E > &... fs) noexcept
Wait until Ready becomes true.