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... Waited>
YACLIB_INLINE std::enable_if_t<(... &&is_waitable_v< Waited >), voidyaclib::Wait (Waited &... fs) noexcept
 Wait until Ready becomes true.
 
template<typename Event = detail::DefaultEvent, typename It >
YACLIB_INLINE std::enable_if_t< is_waitable_v< typename std::iterator_traits< It >::reference >, voidyaclib::Wait (It begin, It end) noexcept
 Wait until Ready becomes true.
 
template<typename Event = detail::DefaultEvent, typename It >
YACLIB_INLINE std::enable_if_t< is_waitable_v< typename std::iterator_traits< It >::reference >, voidyaclib::Wait (It begin, std::size_t count) noexcept
 Wait until Ready becomes true.