Searched refs:lk (Results 1 – 4 of 4) sorted by relevance
31 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()
79 std::unique_lock<std::mutex> lk(m_); in PtracerThread() local80 lk.unlock(); in PtracerThread()93 std::unique_lock<std::mutex> lk(m_); in Start() local111 lk.unlock(); in Start()
366 std::lock_guard<std::mutex> lk(m_); in Alloc() local383 std::lock_guard<std::mutex> lk(m_); in Free() local
60 std::lock_guard<std::mutex> lk(m_); in StartThreads() local70 std::unique_lock<std::mutex> lk(m_); in StartThreads() local71 cv_stop_.wait(lk, [&] {return stop_;}); in StartThreads()77 std::unique_lock<std::mutex> lk(m_); in StartThreads() local78 cv_start_.wait(lk, [&]{ return tids_.size() == threads; }); in StartThreads()84 std::lock_guard<std::mutex> lk(m_); in StopThreads() local