Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_deadlock_detector1.cpp51 bool trylock) override;
152 void DD::MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) { in MutexAfterLock() argument
167 if (!trylock) in MutexAfterLock()
H A Dsanitizer_deadlock_detector2.cpp95 bool trylock);
267 bool trylock) { in MutexAfterLock() argument
269 cb->lt->ctx, m, wlock, trylock, cb->lt->nlocked); in MutexAfterLock()
287 if (!trylock) in MutexAfterLock()
H A Dsanitizer_deadlock_detector_interface.h86 bool trylock) {} in MutexAfterLock()
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp124 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() argument
132 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); in MutexAfterLock()
H A Ddd_rtl.h61 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
H A Ddd_interceptors.cpp248 void __dsan_after_mutex_lock(uptr m, int writelock, int trylock) { in __dsan_after_mutex_lock() argument
251 MutexAfterLock(thr, m, writelock, trylock); in __dsan_after_mutex_lock()
/llvm-project-15.0.7/libc/src/__support/threads/linux/
H A Dmutex.h129 MutexError trylock();
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp4219 bool trylock() EXCLUSIVE_TRYLOCK_FUNCTION(true, mu1_)
4252 bool Foo::trylock() { return true; } in trylock() function in MultipleAttributeTest::Foo
4282 if (trylock()) { in test()