std::scoped_lock< _MutexTypes >
A scoped lock type for multiple lockable objects.
- Provided by: libstdc++-13-doc (Version: 13.3.0-6ubuntu2~24.04.1)
- Source: gcc-13
- Report a bug
A scoped lock type for multiple lockable objects.
#include <mutex>
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
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.
Since
Generated automatically by Doxygen for libstdc++ from the source code.