Scroll to navigation

std::lock_guard(3) Library Functions Manual std::lock_guard(3)

NAME

std::lock_guard -

Scoped lock idiom.

SYNOPSIS

Public Types


typedef _Mutex mutex_type

Public Member Functions


lock_guard (const lock_guard &)
lock_guard (mutex_type &__m, adopt_lock_t __a)
lock_guard (mutex_type &__m)
lock_guard & operator= (const lock_guard &)

Detailed Description

template<typename _Mutex> class std::lock_guard< _Mutex >

Scoped lock idiom.

Definition at line 405 of file mutex.

Author

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

19 Jun 2018 libstdc++