std::mutex::mutex (3) - Linux Manuals
std::mutex::mutex: std::mutex::mutex
Command to display std::mutex::mutex
manual in Linux: $ man 3 std::mutex::mutex
NAME
std::mutex::mutex - std::mutex::mutex
Synopsis
constexpr mutex() noexcept; (1) (since C++11)
mutex( const mutex& ) = delete; (2) (since C++11)
1) Constructs the mutex. The mutex is in unlocked state after the constructor completes.
2) Copy constructor is deleted.
Parameters
(none)
Notes
Because the default constructor is constexpr, static mutexes are initialized as part of static_non-local_initialization, before any dynamic non-local initialization begins. This makes it safe to lock a mutex in a constructor of any static object.
Pages related to std::mutex::mutex
- std::mutex::lock (3) - std::mutex::lock
- std::mutex::native_handle (3) - std::mutex::native_handle
- std::mutex::try_lock (3) - std::mutex::try_lock
- std::mutex::unlock (3) - std::mutex::unlock
- std::mutex::~mutex (3) - std::mutex::~mutex
- std::mutex (3) - std::mutex
- std::multimap (3) - std::multimap
- std::multimap<Key,T,Compare,Allocator>::begin, (3) - std::multimap<Key,T,Compare,Allocator>::begin,
- std::multimap<Key,T,Compare,Allocator>::begin,std::multimap<Key,T,Compare,Allocator>::cbegin (3) - std::multimap<Key,T,Compare,Allocator>::begin,std::multimap<Key,T,Compare,Allocator>::cbegin
- std::multimap<Key,T,Compare,Allocator>::clear (3) - std::multimap<Key,T,Compare,Allocator>::clear
- std::multimap<Key,T,Compare,Allocator>::contains (3) - std::multimap<Key,T,Compare,Allocator>::contains