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