Mutex that maintains wait threads count.
More...
#include <Mutex.h>
Mutex that maintains wait threads count.
Definition at line 42 of file Mutex.h.
int32_t Hypertable::MutexWithStatistics::get_waiting_threads |
( |
| ) |
|
|
inline |
void Hypertable::MutexWithStatistics::lock |
( |
| ) |
|
|
inline |
void Hypertable::MutexWithStatistics::set_statistics_enabled |
( |
bool |
val | ) |
|
|
inline |
void Hypertable::MutexWithStatistics::unlock |
( |
| ) |
|
|
inline |
std::atomic_int_fast32_t Hypertable::MutexWithStatistics::m_count {0} |
|
private |
bool Hypertable::MutexWithStatistics::m_enabled {true} |
|
private |
std::mutex Hypertable::MutexWithStatistics::m_mutex |
|
private |
The documentation for this class was generated from the following file:
- /home/doug/src/hypertable/src/cc/Common/Mutex.h