NIM PC Cross Platform SDK
|
#include <phmap_base.h>
Public 类型 | |
using | mutex_type = MutexType |
Public 成员函数 | |
ReadLock () | |
ReadLock (mutex_type &m) | |
ReadLock (mutex_type &m, adopt_lock_t) noexcept | |
ReadLock (mutex_type &m, defer_lock_t) noexcept | |
ReadLock (mutex_type &m, try_to_lock_t) | |
ReadLock (ReadLock &&o) | |
ReadLock & | operator= (ReadLock &&other) |
~ReadLock () | |
void | lock () |
void | unlock () |
bool | try_lock () |
bool | owns_lock () const noexcept |
void | swap (ReadLock &o) noexcept |
mutex_type * | mutex () const noexcept |
Private 属性 | |
mutex_type * | m_ |
bool | locked_ |
using phmap::LockableBaseImpl< MutexType >::ReadLock::mutex_type = MutexType |
|
inline |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
|
private |