cpp/thread/shared lock/release

Breaks the association of the associated mutex, if any, and.

No locks are unlocked. If the held ownership of the associated mutex prior to the call, the caller is now responsible to unlock the mutex.

Parameters
(none)

Return value
Pointer to the associated mutex or a null pointer if there was no associated mutex.