YACLib
C++ library for concurrent tasks execution
|
#include <await_awaiter.hpp>
Public Member Functions | |
AwaitEvent & | GetCall () noexcept |
InlineCore * | Here (InlineCore &caller) noexcept final |
![]() | |
virtual void | Drop () noexcept |
![]() | |
virtual void | Call () noexcept |
![]() | |
virtual void | IncRef () noexcept |
Increments reference counter. | |
virtual void | DecRef () noexcept |
Decrements reference counter. | |
virtual std::size_t | GetRef () noexcept |
virtual | ~IRef () noexcept=default |
![]() | |
AtomicCounter (std::size_t n, Args &&... args) noexcept(std::is_nothrow_constructible_v< NopeBase, Args &&... >) | |
YACLIB_INLINE void | Add (std::size_t delta) noexcept |
YACLIB_INLINE void | Sub (std::size_t delta) noexcept |
YACLIB_INLINE std::size_t | Get (std::memory_order order=std::memory_order_relaxed) const noexcept |
YACLIB_INLINE bool | SubEqual (std::size_t n) noexcept |
Static Public Attributes | |
static constexpr auto | kShared = false |
Additional Inherited Members | |
![]() | |
Node * | next = nullptr |
![]() | |
yaclib_std::atomic_size_t | count |
Definition at line 90 of file await_awaiter.hpp.
|
inlinenoexcept |
Definition at line 96 of file await_awaiter.hpp.
|
inlinefinalvirtualnoexcept |
Implements yaclib::detail::InlineCore.
Definition at line 116 of file await_awaiter.hpp.
References yaclib::MakeContract().
Definition at line 94 of file await_awaiter.hpp.