libstdc++
|
#include <mutex>
Public Types | |
typedef _Mutex | mutex_type |
Public Member Functions | |
lock_guard (const lock_guard &)=delete | |
lock_guard (mutex_type &__m) | |
lock_guard (mutex_type &__m, adopt_lock_t) noexcept | |
lock_guard & | operator= (const lock_guard &)=delete |
A simple scoped lock type.
A lock_guard controls mutex ownership within a scope, releasing ownership in the destructor.
Definition at line 243 of file std_mutex.h.
typedef _Mutex std::lock_guard< _Mutex >::mutex_type |
Definition at line 246 of file std_mutex.h.
|
inlineexplicit |
Definition at line 248 of file std_mutex.h.
|
inlinenoexcept |
Definition at line 251 of file std_mutex.h.
|
inline |
Definition at line 254 of file std_mutex.h.