std::recursive_timed_mutex::try_lock_for (3) Linux Manual Page
std::recursive_timed_mutex::try_lock_for – std::recursive_timed_mutex::try_lock_for Synopsis template <class Rep, class Period> (since C++ 11) bool try_lock_for(const std::chrono::duration<Rep, Period> &timeout_duration); Tries to lock the mutex. Blocks until specified timeout_duration has elapsed or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_duration is less or equal timeout_duration.zero(), the function behaves…
