STXXL
1.4-dev
|
Public Member Functions | |
scoped_mutex_lock (mutex &m) | |
lock mutex More... | |
~scoped_mutex_lock () | |
unlock mutex hold when object goes out of scope. More... | |
pthread_mutex_t & | native_handle () |
return platform specific handle More... | |
void | unlock () |
unlock mutex hold prematurely More... | |
Private Attributes | |
bool | is_locked |
marker if already unlocked by this thread (needs no synchronization) More... | |
mutex & | m_mutex |
mutex reference More... | |
|
inline |
|
inline |
|
inline |
return platform specific handle
Definition at line 152 of file mutex.h.
Referenced by stxxl::condition_variable::wait().
|
inline |
unlock mutex hold prematurely
Definition at line 144 of file mutex.h.
Referenced by stxxl::disk_allocator::new_blocks(), stxxl::onoff_switch::off(), stxxl::onoff_switch::on(), stxxl::semaphore::operator++(), stxxl::linuxaio_queue::post_requests(), stxxl::state< request_state >::set_to(), stxxl::request_queue_impl_1q::worker(), and stxxl::request_queue_impl_qwqr::worker().
|
private |
|
private |