unique_lock::try_lock_until Method
Visual Studio 2012
Attempts to obtain ownership of the associated mutex without blocking.
template<class Clock, class Duration> bool try_lock_until(const chrono::time_point<Clock, Duration>& Abs_time); bool try_lock_until(const xtime *Abs_time);
If the stored mutex pointer is null, the method throws a system_error that has an error code of operation_not_permitted.
If the calling thread already owns the mutex, the method throws a system_error that has an error code of resource_deadlock_would_occur.