std::lock_guard< _Mutex >

Section: C Library Functions (3)
Updated: Wed Apr 17 2019
Page Index
 

NAME

std::lock_guard< _Mutex > - A simple scoped lock type.

 

SYNOPSIS


 

Public Types


typedef _Mutex mutex_type
 

Public Member Functions


lock_guard (mutex_type &__m)

lock_guard (mutex_type &__m, adopt_lock_t) noexcept

lock_guard (const lock_guard &)=delete

lock_guard & operator= (const lock_guard &)=delete
 

Detailed Description

 

template<typename _Mutex>


class std::lock_guard< _Mutex >" A simple scoped lock type.

A lock_guard controls mutex ownership within a scope, releasing ownership in the destructor.

Definition at line 156 of file std_mutex.h.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Types
Public Member Functions
Detailed Description
template<typename _Mutex>
Author