Home
last modified time | relevance | path

Searched refs:UserMutex (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util.h38 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 …]
H A Dtsan_test_util_posix.cpp94 UserMutex::UserMutex(Type type) : alive_(), type_(type) {} in UserMutex() function in UserMutex
96 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 …]
H A Dtsan_mutex.cpp23 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()
H A Dtsan_mop.cpp68 UserMutex m(UserMutex::RW); in TEST_F()
87 UserMutex m(UserMutex::RW); in TEST_F()
H A Dtsan_bench.cpp92 UserMutex m; in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.h22 struct UserMutex { struct
40 typedef AddrHashMap<UserMutex, 31051> MutexHashMap; argument