22template <
typename Event = detail::MutexEvent,
typename Clock,
typename Duration,
typename... V,
typename...
E>
40template <
typename Event = detail::MutexEvent,
typename Clock,
typename Duration,
typename Iterator>
59template <
typename Event = detail::MutexEvent,
typename Clock,
typename Duration,
typename Iterator>
61 std::size_t count)
noexcept {
Provides a mechanism to access the result of async operations.
#define YACLIB_ASSERT(cond)
YACLIB_INLINE bool WaitUntil(const std::chrono::time_point< Clock, Duration > &timeout_time, FutureBase< V, E > &... fs) noexcept
Wait until specified time has been reached or Ready becomes true.
Contract< V, E > MakeContract()
Creates related future and promise.