|
YACLib
C++ library for concurrent tasks execution
|
Typedefs | |
| template<typename T > | |
| using | IsUniqueCore = detail::IsInstantiationOf< detail::UniqueCore, T > |
| template<typename T > | |
| using | IsSharedCore = detail::IsInstantiationOf< detail::SharedCore, T > |
Functions | |
| template<typename... Futures> | |
| YACLIB_INLINE void | CheckSameError () |
| template<typename Strategy , typename Core > | |
| YACLIB_INLINE void | ConsumeImpl (Strategy &st, Core &core) |
| template<std::size_t Index, typename Strategy , typename Core > | |
| YACLIB_INLINE void | ConsumeImpl (Strategy &st, Core &core) |
| template<typename Strategy , typename Core > | |
| YACLIB_INLINE void | ConsumeImpl (Strategy &st, Core &core, std::size_t index) |
| template<std::size_t Index, typename Strategy , typename Core > | |
| YACLIB_INLINE void | Consume (Strategy &st, Core &core) |
| template<typename Strategy , typename Core > | |
| YACLIB_INLINE void | Consume (Strategy &st, Core &core, std::size_t index) |
| template<template< FailPolicy, typename... > typename Strategy, FailPolicy F, typename OutputValue , typename OutputError , typename... Futures> | |
| auto | When (Futures... futures) |
| template<template< FailPolicy, typename... > typename Strategy, FailPolicy F, typename OutputValue , typename OutputError , typename Iterator , typename Value = typename std::iterator_traits<Iterator>::value_type> | |
| auto | When (Iterator begin, std::size_t count) |
Variables | |
| template<ConsumePolicy P> | |
| constexpr bool | kIsOrdered = P == ConsumePolicy::Static || P == ConsumePolicy::Dynamic |
| constexpr std::size_t | kDynamicTag = std::numeric_limits<std::size_t>::max() |
| using yaclib::when::IsSharedCore = typedef detail::IsInstantiationOf<detail::SharedCore, T> |
| using yaclib::when::IsUniqueCore = typedef detail::IsInstantiationOf<detail::UniqueCore, T> |
| YACLIB_INLINE void yaclib::when::CheckSameError | ( | ) |
Definition at line 20 of file when.hpp.
References yaclib::Error, and yaclib::MakeContract().
Referenced by yaclib::Join(), yaclib::WhenAll(), and yaclib::WhenAny().
| YACLIB_INLINE void yaclib::when::Consume | ( | Strategy & | st, |
| Core & | core | ||
| ) |
Definition at line 66 of file when.hpp.
References ConsumeImpl(), yaclib::MakeContract(), yaclib::Managed, yaclib::None, yaclib::Static, and yaclib::Unordered.
Referenced by yaclib::when::SingleCombinator< Strategy, Core >::Set(), and yaclib::when::DynamicCombinator< Strategy, Core >::Set().
| YACLIB_INLINE void yaclib::when::Consume | ( | Strategy & | st, |
| Core & | core, | ||
| std::size_t | index | ||
| ) |
Definition at line 81 of file when.hpp.
References ConsumeImpl(), yaclib::Managed, yaclib::None, yaclib::Static, and yaclib::Unordered.
| YACLIB_INLINE void yaclib::when::ConsumeImpl | ( | Strategy & | st, |
| Core & | core | ||
| ) |
Definition at line 39 of file when.hpp.
References yaclib::Owned.
| YACLIB_INLINE void yaclib::when::ConsumeImpl | ( | Strategy & | st, |
| Core & | core | ||
| ) |
Definition at line 48 of file when.hpp.
References yaclib::MakeContract(), and yaclib::Owned.
| YACLIB_INLINE void yaclib::when::ConsumeImpl | ( | Strategy & | st, |
| Core & | core, | ||
| std::size_t | index | ||
| ) |
Definition at line 57 of file when.hpp.
References yaclib::Owned.
| auto yaclib::when::When | ( | Futures... | futures | ) |
Definition at line 318 of file when.hpp.
References yaclib::Error, yaclib::when::StaticCombinator< Strategy, Cores >::Set(), yaclib::Value, and When().
Referenced by yaclib::Join(), When(), and When().
| auto yaclib::when::When | ( | Iterator | begin, |
| std::size_t | count | ||
| ) |
Definition at line 349 of file when.hpp.
References yaclib::when::DynamicCombinator< Strategy, Core >::Set(), and When().
|
inlineconstexpr |
|
inlineconstexpr |