Namespaces
Variants
Views
Actions

std::mutex::mutex

From cppreference.com
< cpp‎ | thread‎ | mutex
Revision as of 19:37, 2 November 2012 by P12bot (Talk | contribs)

mutex();
(1) (since C++11)
mutex( const mutex& ) = delete;
(2) (since C++11)
1) Constructs the mutex. The mutex is in unlocked state after the call.
2) Copy constructor is deleted.

Parameters

(none)

Exceptions

std::system_error if the construction is unsuccessful.