Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
stxxl::scoped_mutex_lock Class Reference

Aquire a lock that's valid until the end of scope. More...

#include <mutex.h>

Collaboration diagram for stxxl::scoped_mutex_lock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 scoped_mutex_lock (mutex &mtx_)
 ~scoped_mutex_lock ()
void lock ()
void unlock ()

Private Attributes

mutexmtx
bool is_locked

Detailed Description

Aquire a lock that's valid until the end of scope.

Definition at line 82 of file mutex.h.


Constructor & Destructor Documentation

Definition at line 88 of file mutex.h.

Definition at line 93 of file mutex.h.


Member Function Documentation

void stxxl::scoped_mutex_lock::lock ( ) [inline]

Definition at line 98 of file mutex.h.


Member Data Documentation

Definition at line 85 of file mutex.h.

Definition at line 84 of file mutex.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines