Documentation Home

Return the mutex associated with *this if any.

mutex_type* mutex() const;

Returns:

A pointer to the mutex associated with *this if any, NULL otherwise.

Throws:

Nothing.

Header

#include <shared_mutex>

See Also