6#include <yaclib_std/chrono>
10template <
typename Impl>
17 template <
typename Rep,
typename Period>
23 template <
typename Clock,
typename Duration>
bool try_lock_for(const std::chrono::duration< Rep, Period > &timeout_duration)
bool try_lock_until(const std::chrono::time_point< Clock, Duration > &timeout_time)
#define YACLIB_INJECT_FAULT(statement)
Contract< V, E > MakeContract()
Creates related future and promise.