Lines Matching +full:deadlock +full:- +full:detector
1 //===-- tsan_mutex.cc -----------------------------------------------------===//
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
20 // Simple reader-writer spin-mutex. Optimized for not-so-contended case.
29 const MutexType MutexTypeLeaf = (MutexType)-1;
155 Printf("ThreadSanitizer: internal deadlock detected\n"); in Lock()
177 thr->internal_deadlock_detector.CheckNoLocks(); in CheckNoLocks()
201 u64 passive = iter_ - active; in Contention()
229 cur_thread()->internal_deadlock_detector.Lock(type_); in Lock()
254 cur_thread()->internal_deadlock_detector.Unlock(type_); in Unlock()
260 cur_thread()->internal_deadlock_detector.Lock(type_); in ReadLock()
282 cur_thread()->internal_deadlock_detector.Unlock(type_); in ReadUnlock()