std::unique_lock::mutex

From Cppreference

Jump to: navigation, search
mutex_type* mutex() const;
(since C++11)

Returns a pointer to the associated mutex, or NULL if there is no associated mutex.

Contents

[edit] Parameters

(none)

[edit] Return value

Pointer to the associated mutex or NULL if there is no associated mutex.

[edit] Exceptions

noexcept specification:  
noexcept

  (since C++11)

[edit] Example