YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::AwaitEvent Class Reference

#include <await_awaiter.hpp>

Inheritance diagram for yaclib::detail::AwaitEvent:
[legend]
Collaboration diagram for yaclib::detail::AwaitEvent:
[legend]

Public Member Functions

AwaitEventGetCall () noexcept
 
InlineCoreHere (InlineCore &caller) noexcept final
 
- Public Member Functions inherited from yaclib::Job
virtual void Drop () noexcept
 
- Public Member Functions inherited from yaclib::IFunc
virtual void Call () noexcept
 
- Public Member Functions inherited from yaclib::IRef
virtual void IncRef () noexcept
 Increments reference counter.
 
virtual void DecRef () noexcept
 Decrements reference counter.
 
virtual std::size_t GetRef () noexcept
 
virtual ~IRef () noexcept=default
 
- Public Member Functions inherited from yaclib::detail::AtomicCounter< NopeBase, NopeDeleter >
 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

- Public Attributes inherited from yaclib::detail::Node
Nodenext = nullptr
 
- Public Attributes inherited from yaclib::detail::AtomicCounter< NopeBase, NopeDeleter >
yaclib_std::atomic_size_t count
 

Detailed Description

Definition at line 90 of file await_awaiter.hpp.

Member Function Documentation

◆ GetCall()

AwaitEvent & yaclib::detail::AwaitEvent::GetCall ( )
inlinenoexcept

Definition at line 96 of file await_awaiter.hpp.

◆ Here()

InlineCore * yaclib::detail::AwaitEvent::Here ( InlineCore caller)
inlinefinalvirtualnoexcept

Implements yaclib::detail::InlineCore.

Definition at line 116 of file await_awaiter.hpp.

References yaclib::MakeContract().

Member Data Documentation

◆ kShared

constexpr auto yaclib::detail::AwaitEvent::kShared = false
staticconstexpr

Definition at line 94 of file await_awaiter.hpp.


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