Tries to acquire the managed mutex in shared mode by a deadline.
Declared in <folly/SharedMutex.h>
template<
typename Clock,
typename Duration>
bool
try_lock_until(std::chrono::time_point<Clock, Duration> const& deadline);
true if the lock was acquired before the deadline.
| Name | Description |
|---|---|
| deadline | Absolute time by which the lock must be acquired. |