Searched refs:UserMutex (Results 1 – 6 of 6) sorted by relevance
38 class UserMutex {50 explicit UserMutex(Type type = Normal);51 ~UserMutex();69 UserMutex(const UserMutex &);70 void operator=(const UserMutex &);110 void Create(const UserMutex &m);111 void Destroy(const UserMutex &m);112 void Lock(const UserMutex &m);113 bool TryLock(const UserMutex &m);114 void Unlock(const UserMutex &m);[all …]
94 UserMutex::UserMutex(Type type) : alive_(), type_(type) {} in UserMutex() function in UserMutex96 UserMutex::~UserMutex() { CHECK(!alive_); } in ~UserMutex()98 void UserMutex::Init() { in Init()113 void UserMutex::StaticInit() { in StaticInit()121 void UserMutex::Destroy() { in Destroy()134 void UserMutex::Lock() { in Lock()146 bool UserMutex::TryLock() { in TryLock()159 void UserMutex::Unlock() { in Unlock()171 void UserMutex::ReadLock() { in ReadLock()177 bool UserMutex::TryReadLock() { in TryReadLock()[all …]
23 UserMutex m; in TEST_F()41 UserMutex m(UserMutex::Spin); in TEST_F()59 UserMutex m(UserMutex::RW); in TEST_F()95 UserMutex m; in TEST_F()111 UserMutex m(UserMutex::Spin); in TEST_F()127 UserMutex m(UserMutex::RW); in TEST_F()153 UserMutex m; in TEST_F()
68 UserMutex m(UserMutex::RW); in TEST_F()87 UserMutex m(UserMutex::RW); in TEST_F()
92 UserMutex m; in TEST()
22 struct UserMutex { struct40 typedef AddrHashMap<UserMutex, 31051> MutexHashMap; argument