|
Stxxl
1.4.0
|
Aquire a lock that's valid until the end of scope. More...
#include <mutex.h>

Public Member Functions | |
| scoped_mutex_lock (mutex &mtx_) | |
| ~scoped_mutex_lock () | |
| void | lock () |
| void | unlock () |
Private Attributes | |
| mutex & | mtx |
| bool | is_locked |
| stxxl::scoped_mutex_lock::scoped_mutex_lock | ( | mutex & | mtx_ | ) | [inline] |
| stxxl::scoped_mutex_lock::~scoped_mutex_lock | ( | ) | [inline] |
| void stxxl::scoped_mutex_lock::lock | ( | ) | [inline] |
| void stxxl::scoped_mutex_lock::unlock | ( | ) | [inline] |
Definition at line 106 of file mutex.h.
Referenced by stxxl::DiskAllocator::new_blocks(), stxxl::request_queue_impl_1q::worker(), and stxxl::request_queue_impl_qwqr::worker().
bool stxxl::scoped_mutex_lock::is_locked [private] |
mutex& stxxl::scoped_mutex_lock::mtx [private] |
1.7.6.1