Scroll to navigation

std::scoped_lock< _MutexTypes >(3) Library Functions Manual std::scoped_lock< _MutexTypes >(3)

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.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Mon Dec 18 2023 libstdc++