cpp/thread/unique lock/try lock

Tries to lock (i.e., takes ownership of) the associated mutex without blocking. Effectively calls.

std is thrown if there is no associated mutex or if the mutex is already locked by this std.

Parameters
(none)

Return value
if the ownership of the mutex has been acquired successfully, otherwise.

Exceptions

 * Any exceptions thrown by ( types do not throw in, but a custom  might)


 * If there is no associated mutex, std with an error code of std


 * If the mutex is already locked by this, std with an error code of std