YACLib
C++ library for concurrent tasks execution
|
#include <promise_type.hpp>
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 * | |
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 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 44 of file promise_type.hpp.
|
inlinenoexcept |
Definition at line 48 of file promise_type.hpp.
|
inlinenoexcept |
Definition at line 67 of file promise_type.hpp.
|
inlinenoexcept |
Definition at line 51 of file promise_type.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 84 of file promise_type.hpp.
References yaclib::MakeContract(), and YACLIB_ASSERT.
|
inlinenoexcept |
Definition at line 59 of file promise_type.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 80 of file promise_type.hpp.
References yaclib::detail::ResultCore< V, E >::Store().
|
inlinenoexcept |
Definition at line 76 of file promise_type.hpp.
References yaclib::MakeContract(), and yaclib::detail::ResultCore< V, E >::Store().
|
inlinenoexcept |
Definition at line 71 of file promise_type.hpp.
References yaclib::detail::ResultCore< V, E >::Store().