public member function
<mutex>
template <class Clock, class Duration> bool try_lock_until (const chrono::time_point<Clock,Duration>& abs_time);
Try to lock until time point
Parameters
abs_time
A point in time at which the thread will stop blocking, abandoning the attempt to lock.
time_point is an object that represents a specific absolute time.
Return value
true
if the function succeeds in locking the recursive_timed_mutex for the thread.
false
otherwise.
Data races
The recursive_timed_mutex object is accessed/modified as an atomic operation (causes no data races).
Exception safety
Offers the same level of guarantee as the operations on the duration object (for the types used by the clocks in <chrono>, this is a no-throw guarantee).