std::shared_lock<Mutex>::try_lock_until

Tries to lock the associated mutex in shared mode. Blocks until specified timeout_time has been reached or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. May block for longer than until timeout_time has been reached.

# Declarations

template< class Clock, class Duration >
bool try_lock_until( const std::chrono::time_point<Clock,Duration>& timeout_time );

(since C++14)

# Parameters

# Return value

true if the ownership of the mutex has been acquired successfully, false otherwise.

# Example

This section is incompleteReason: no example

# See also