14 template <
typename Rep,
typename Period>
19 template <
typename Clock,
typename Duration>
25 template <
typename Timeout>
32 "about to be locked twice and not in a good way");
WaitStatus Wait(NoTimeoutTag)
std::uint32_t _occupied_count
bool try_lock_until(const std::chrono::time_point< Clock, Duration > &timeout_time)
bool try_lock_for(const std::chrono::duration< Rep, Period > &timeout_duration)
static detail::fiber::FiberBase::Id GetId()
#define YACLIB_DEBUG(cond, message)
Contract< V, E > MakeContract()
Creates related future and promise.