Scroll to navigation

std::lock_guard< _Mutex >(3) Library Functions Manual std::lock_guard< _Mutex >(3)

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 >

Scoped lock idiom.

Definition at line 408 of file mutex.

Author

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

Tue Sep 29 2020 libstdc++