glibmm: Glib::RWLock::WriterLock Class Reference

glibmm 2.38.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Glib::RWLock::WriterLock Class Reference

Utility class for exception-safe locking of read/write locks. More...

`#include <glibmm/thread.h>`

## Public Member Functions
| WriterLock (RWLock& rwlock)
| WriterLock (RWLock& rwlock, NotLock)
| WriterLock (RWLock& rwlock, TryLock)
| ~WriterLock ()
void | acquire ()
bool | try_acquire ()
void | release ()
bool | locked () const

## Detailed Description

Utility class for exception-safe locking of read/write locks.

Deprecated:
  Use Glib::Threads::RWLock::WriterLock instead.

## Constructor & Destructor Documentation

Glib::RWLock::WriterLock::WriterLock | ( | RWLock& | rwlock | ) |
| inlineexplicit

Glib::RWLock::WriterLock::WriterLock | ( | RWLock& | rwlock,
|  | NotLock |
| ) |  |
| inline

Glib::RWLock::WriterLock::WriterLock | ( | RWLock& | rwlock,
|  | TryLock |
| ) |  |
| inline

Glib::RWLock::WriterLock::~WriterLock | ( |  | ) |
| inline

## Member Function Documentation

void Glib::RWLock::WriterLock::acquire | ( |  | ) |
| inline

bool Glib::RWLock::WriterLock::locked | ( |  | ) | const
| inline

void Glib::RWLock::WriterLock::release | ( |  | ) |
| inline

bool Glib::RWLock::WriterLock::try_acquire | ( |  | ) |
| inline