YACLib
C++ library for concurrent tasks execution
|
#include <result_core.hpp>
Public Attributes | ||
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 | |
Additional Inherited Members | |
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 * |
Protected Member Functions inherited from yaclib::detail::BaseCore | |
BaseCore (State callback) noexcept | |
Protected Attributes inherited from yaclib::detail::BaseCore | |
yaclib_std::atomic_uintptr_t | _callback |
Definition at line 17 of file result_core.hpp.
|
inlinenoexcept |
Definition at line 34 of file result_core.hpp.
References yaclib::detail::BaseCore::kEmpty.
|
inlineexplicitnoexcept |
Definition at line 38 of file result_core.hpp.
|
inlineoverridenoexcept |
Definition at line 42 of file result_core.hpp.
References yaclib::detail::ResultCore< V, E >::_result, and yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 51 of file result_core.hpp.
References yaclib::detail::ResultCore< V, E >::_result.
|
inlineoverridevirtualnoexcept |
Implements yaclib::detail::InlineCore.
Definition at line 25 of file result_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 47 of file result_core.hpp.
References yaclib::detail::ResultCore< V, E >::_result, and yaclib::MakeContract().
Referenced by yaclib::detail::ReadyCore< V, E >::Drop(), yaclib::detail::ReadyCore< V, E >::ReadyCore(), yaclib::detail::PromiseType< V, E, Lazy >::return_value(), yaclib::detail::PromiseType< V, E, Lazy >::return_value(), yaclib::detail::PromiseType< V, E, Lazy >::unhandled_exception(), and yaclib::detail::AnyCombinatorBase< V, E, FailPolicy::FirstFail >::~AnyCombinatorBase().
union { ... } yaclib::detail::ResultCore< V, E > |
Definition at line 56 of file result_core.hpp.
Referenced by yaclib::detail::ReadyCore< V, E >::Drop(), yaclib::detail::ResultCore< V, E >::Get(), yaclib::detail::ResultCore< V, E >::Store(), and yaclib::detail::ResultCore< V, E >::~ResultCore().
Definition at line 57 of file result_core.hpp.