Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RWLock::ReaderLock Class Reference

#include <thread.h>

List of all members.

Detailed Description

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

Definition at line 564 of file thread.h.

Public Member Functions

void acquire ()
bool locked () const
 ReaderLock (RWLock &rwlock, TryLock)
 ReaderLock (RWLock &rwlock, NotLock)
 ReaderLock (RWLock &rwlock)
void release ()
bool try_acquire ()

Private Member Functions

RWLock::ReaderLockoperator= (const RWLock::ReaderLock &)
 ReaderLock (const RWLock::ReaderLock &)

Private Attributes

bool locked_
RWLock & rwlock_

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

Generated by  Doxygen 1.6.0   Back to index