5#include <yaclib/config.hpp>
39template <
typename Event = detail::MutexEvent,
typename Rep,
typename Period,
typename Iterator>
40YACLIB_INLINE std::enable_if_t<is_waitable_with_timeout_v<typename std::iterator_traits<Iterator>::reference>,
bool>
57template <
typename Event = detail::MutexEvent,
typename Rep,
typename Period,
typename Iterator>
58YACLIB_INLINE std::enable_if_t<is_waitable_with_timeout_v<typename std::iterator_traits<Iterator>::reference>,
bool>
#define YACLIB_ASSERT(cond)
YACLIB_INLINE std::enable_if_t<(... &&is_waitable_with_timeout_v< Waited >), bool > WaitFor(const std::chrono::duration< Rep, Period > &timeout_duration, Waited &... fs) noexcept
Wait until the specified timeout duration has elapsed or Ready becomes true.
Contract< V, E > MakeContract()
Creates related future and promise.