libstdc++: __gnu_cxx::__scoped_lock Class Reference

libstdc++

__gnu_cxx::__scoped_lock Class Reference

`#include <concurrence.h>`

## Public Types
typedef __mutex | __mutex_type

## Public Member Functions
| __scoped_lock (__mutex_type &__name)

## Detailed Description

Scoped lock idiom.

Definition at line 233 of file concurrence.h.

## Member Typedef Documentation

## ◆ __mutex_type

typedef __mutex __gnu_cxx::__scoped_lock::__mutex_type

Definition at line 236 of file concurrence.h.

## Constructor & Destructor Documentation

## ◆ __scoped_lock()

__gnu_cxx::__scoped_lock::__scoped_lock | ( | __mutex_type & | __name | ) |
| inlineexplicit

Definition at line 245 of file concurrence.h.

## ◆ ~__scoped_lock()

__gnu_cxx::__scoped_lock::~__scoped_lock | ( |  | ) |
throw | ( | ) |  |  |
| inline

Definition at line 248 of file concurrence.h.

The documentation for this class was generated from the following file:

- concurrence.h