glibmm  2.31.22
Public Member Functions
Glib::RWLock::ReaderLock Class Reference

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

#include <glibmm/thread.h>

List of all members.

Public Member Functions

 ReaderLock (RWLock& rwlock)
 ReaderLock (RWLock& rwlock, NotLock)
 ReaderLock (RWLock& rwlock, TryLock)
 ~ReaderLock ()
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::ReaderLock instead.

Constructor & Destructor Documentation

Glib::RWLock::ReaderLock::ReaderLock ( RWLock rwlock) [inline, explicit]
Glib::RWLock::ReaderLock::ReaderLock ( RWLock rwlock,
NotLock   
) [inline]
Glib::RWLock::ReaderLock::ReaderLock ( RWLock rwlock,
TryLock   
) [inline]

Member Function Documentation

bool Glib::RWLock::ReaderLock::locked ( ) const [inline]