Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DSemaphore.h31 std::unique_lock<std::mutex> lk(m_); in Wait()
32 cv_.wait_for(lk, ms, [&]{ in Wait()
42 std::lock_guard<std::mutex> lk(m_); in Post()
DPtracerThread.cpp79 std::unique_lock<std::mutex> lk(m_); in PtracerThread() local
80 lk.unlock(); in PtracerThread()
93 std::unique_lock<std::mutex> lk(m_); in Start() local
111 lk.unlock(); in Start()
DAllocator.cpp366 std::lock_guard<std::mutex> lk(m_); in Alloc() local
383 std::lock_guard<std::mutex> lk(m_); in Free() local
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp60 std::lock_guard<std::mutex> lk(m_); in StartThreads() local
70 std::unique_lock<std::mutex> lk(m_); in StartThreads() local
71 cv_stop_.wait(lk, [&] {return stop_;}); in StartThreads()
77 std::unique_lock<std::mutex> lk(m_); in StartThreads() local
78 cv_start_.wait(lk, [&]{ return tids_.size() == threads; }); in StartThreads()
84 std::lock_guard<std::mutex> lk(m_); in StopThreads() local