Home
last modified time | relevance | path

Searched refs:TryLock (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/
Dmutex_test.cc52 ASSERT_TRUE(mu.TryLock(Thread::Current())); in TryLockUnlockTest()
84 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
86 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
Dmutex.h185 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock() function
/art/runtime/
Dmonitor.h224 bool TryLock(Thread* self, bool spin = false)
Dmonitor.cc419 bool Monitor::TryLock(Thread* self, bool spin) { in TryLock() function in art::Monitor
445 if (TryLock(self, /*spin=*/ true)) { in Lock()
1200 return mon->TryLock(self) ? h_obj.Get() : nullptr; in MonitorEnter()