cpp/thread/shared lock/lock

Locks the associated mutex in shared mode. Effectively calls.

Parameters
(none)

Return value
(none)

Exceptions

 * Any exceptions thrown by


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


 * If the associated mutex is already locked by this (that is,  returns ), std with an error code of std