|
YACLib
C++ library for concurrent tasks execution
|
#include <yaclib/async/shared_future.hpp>#include <yaclib/async/shared_promise.hpp>#include <yaclib/util/helper.hpp>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | yaclib |
Typedefs | |
| template<typename V , typename E > | |
| using | yaclib::SharedContract = std::pair< SharedFuture< V, E >, SharedPromise< V, E > > |
| template<typename V , typename E > | |
| using | yaclib::SharedContractOn = std::pair< SharedFutureOn< V, E >, SharedPromise< V, E > > |
Functions | |
| template<typename V = void, typename E = StopError> | |
| SharedContract< V, E > | yaclib::MakeSharedContract () |
| template<typename V = void, typename E = StopError> | |
| SharedContract< V, E > | yaclib::MakeSharedContractOn (IExecutor &e) |
| template<typename V = void, typename E = StopError> | |
| SharedPromise< V, E > | yaclib::MakeSharedPromise () |