YACLib
C++ library for concurrent tasks execution
|
#include <promise_core.hpp>
Public Types | |
using | Base = ResultCore< V, E > |
Public Types inherited from yaclib::detail::BaseCore | |
enum | State : std::uintptr_t { kEmpty = std::uintptr_t{0} , kResult = std::numeric_limits<std::uintptr_t>::max() } |
template<bool SymmetricTransfer> | |
using | Transfer = InlineCore * |
Additional Inherited Members | ||
Public Attributes inherited from yaclib::detail::ResultCore< V, E > | ||
union { | ||
Result< V, E > _result | ||
Callback _self | ||
}; | ||
Public Attributes inherited from yaclib::detail::BaseCore | ||
IExecutorPtr | _executor {NoRefTag{}, &MakeInline()} | |
Public Attributes inherited from yaclib::detail::Node | ||
Node * | next = nullptr | |
Protected Types inherited from yaclib::detail::FuncCore< Func > | ||
using | Storage = std::decay_t< Func > | |
using | Invoke = std::conditional_t< std::is_function_v< std::remove_reference_t< Func > >, Storage, Func > | |
Protected Member Functions inherited from yaclib::detail::BaseCore | ||
BaseCore (State callback) noexcept | ||
Protected Member Functions inherited from yaclib::detail::FuncCore< Func > | ||
FuncCore (Func &&f) | ||
Protected Attributes inherited from yaclib::detail::BaseCore | ||
yaclib_std::atomic_uintptr_t | _callback | |
Protected Attributes inherited from yaclib::detail::FuncCore< Func > | ||
YACLIB_NO_UNIQUE_ADDRESS State | _func | |
Definition at line 13 of file promise_core.hpp.
using yaclib::detail::PromiseCore< V, E, Func >::Base = ResultCore<V, E> |
Definition at line 19 of file promise_core.hpp.
|
inlineexplicit |
Definition at line 21 of file promise_core.hpp.