Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RecMutex::Lock Class Reference

#include <thread.h>

List of all members.

Detailed Description

Utility class for exception-safe locking of recursive mutexes.

Definition at line 494 of file thread.h.

Public Member Functions

void acquire ()
 Lock (RecMutex &mutex, TryLock)
 Lock (RecMutex &mutex, NotLock)
 Lock (RecMutex &mutex)
bool locked () const
void release ()
bool try_acquire ()

Private Member Functions

 Lock (const RecMutex::Lock &)
RecMutex::Lockoperator= (const RecMutex::Lock &)

Private Attributes

bool locked_
RecMutex & mutex_

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

Generated by  Doxygen 1.6.0   Back to index