5#include <yaclib_std/chrono>
15 template <
typename Rep,
typename Period>
20 template <
typename Clock,
typename Duration>
25 template <
typename Rep,
typename Period>
30 template <
typename Clock,
typename Duration>
36 template <
typename Timeout>
WaitStatus Wait(NoTimeoutTag)
FiberQueue _exclusive_queue
bool try_lock_shared_for(const std::chrono::duration< Rep, Period > &timeout_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_for(const std::chrono::duration< Rep, Period > &timeout_duration)
#define YACLIB_DEBUG(cond, message)
Contract< V, E > MakeContract()
Creates related future and promise.