table of contents
std::scoped_lock< _MutexTypes >(3cxx) | std::scoped_lock< _MutexTypes >(3cxx) |
NAME¶
std::scoped_lock< _MutexTypes > - A scoped lock type for multiple lockable objects.
SYNOPSIS¶
Public Member Functions¶
scoped_lock (_MutexTypes &... __m)
scoped_lock (adopt_lock_t, _MutexTypes &... __m) noexcept
scoped_lock (const scoped_lock &)=delete
scoped_lock & operator= (const scoped_lock
&)=delete
Detailed Description¶
template<typename... _MutexTypes>¶
class std::scoped_lock< _MutexTypes >"A scoped lock type for multiple lockable objects.
A scoped_lock controls mutex ownership within a scope, releasing ownership in the destructor.
Definition at line 692 of file mutex.
Constructor & Destructor Documentation¶
template<typename... _MutexTypes> std::scoped_lock< _MutexTypes >::scoped_lock (_MutexTypes &... __m) [inline], [explicit]¶
Definition at line 695 of file mutex.
template<typename... _MutexTypes> std::scoped_lock< _MutexTypes >::scoped_lock (adopt_lock_t, _MutexTypes &... __m) [inline], [explicit], [noexcept]¶
Definition at line 698 of file mutex.
template<typename... _MutexTypes> std::scoped_lock< _MutexTypes >::~scoped_lock () [inline]¶
Definition at line 702 of file mutex.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Sun Jan 8 2023 | libstdc++ |