table of contents
std::lock_guard< _Mutex >(3cxx) | std::lock_guard< _Mutex >(3cxx) |
NAME¶
std::lock_guard< _Mutex > -
SYNOPSIS¶
Public Types¶
typedef _Mutex mutex_type
Public Member Functions¶
lock_guard (mutex_type &__m)
lock_guard (mutex_type &__m, adopt_lock_t)
lock_guard (const lock_guard &)=delete
lock_guard & operator= (const lock_guard
&)=delete
Detailed Description¶
template<typename _Mutex>¶
class std::lock_guard< _Mutex >" A movable scoped lock type.
A unique_lock controls mutex ownership within a scope. Ownership of the mutex can be delayed until after construction and can be transferred to another unique_lock by move construction or move assignment. If a mutex lock is owned when the destructor runs ownership will be released.
Definition at line 380 of file mutex.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Fri Dec 2 2016 | libstdc++ |