[#std-shared_lock-0b-try_lock_until] = xref:std.adoc[std]::xref:std/shared_lock-0b.adoc[shared_lock<folly::SharedMutexImpl<ReaderPriority, Tag_, Atom, Policy>>]::try_lock_until :relfileprefix: ../../ :mrdocs: Tries to acquire the managed mutex in shared mode by a deadline. == Synopsis Declared in `<folly/SharedMutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Clock, typename Duration> bool try_lock_until(std::chrono::time_point<Clock, Duration> const& deadline); ---- == Return Value `true` if the lock was acquired before the deadline. == Parameters [cols="1,4"] |=== | Name| Description | *deadline* | Absolute time by which the lock must be acquired. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#