Home
last modified time | relevance | path

Searched refs:owner_tid (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc109 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy()
152 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexLock()
154 s->owner_tid = thr->tid; in MutexLock()
156 } else if (s->owner_tid == thr->tid) { in MutexLock()
197 if (kCppMode && (s->recursion == 0 || s->owner_tid != thr->tid)) { in MutexUnlock()
207 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock()
240 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadLock()
275 if (s->owner_tid != SyncVar::kInvalidTid) { in MutexReadUnlock()
305 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexReadOrWriteUnlock()
312 } else if (s->owner_tid == thr->tid) { in MutexReadOrWriteUnlock()
[all …]
Dtsan_sync.h35 int owner_tid; // Set only by exclusive owners. member
Dtsan_sync.cc42 owner_tid = kInvalidTid; in Reset()