YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
wait.hpp File Reference
#include <yaclib/async/detail/wait_impl.hpp>
#include <yaclib/async/future.hpp>
#include <yaclib/config.hpp>
#include <yaclib/util/detail/default_event.hpp>
#include <cstddef>
Include dependency graph for wait.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaclib
 

Functions

template<typename Event = detail::DefaultEvent, typename... V, typename... E>
YACLIB_INLINE void yaclib::Wait (FutureBase< V, E > &... fs) noexcept
 Wait until Ready becomes true.
 
template<typename Event = detail::DefaultEvent, typename It >
YACLIB_INLINE std::enable_if_t<!is_future_base_v< It >, voidyaclib::Wait (It begin, It end) noexcept
 Wait until Ready becomes true.
 
template<typename Event = detail::DefaultEvent, typename It >
YACLIB_INLINE void yaclib::Wait (It begin, std::size_t count) noexcept
 Wait until Ready becomes true.