Searched refs:lk (Results 1 – 8 of 8) sorted by relevance
33 std::unique_lock<std::mutex> lk(m_); in Wait()34 cv_.wait_for(lk, ms, [&] { in Wait()44 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()
356 std::lock_guard<std::mutex> lk(m_); in Alloc() local373 std::lock_guard<std::mutex> lk(m_); in Free() local
202 std::unique_lock<std::mutex> lk(cv_m, std::defer_lock); in waitForGc() local227 lk.lock(); in waitForGc()229 cv_abort.wait_for(lk, 10s, [] { return idle_maint_stat == IdleMaintStats::kAbort; }); in waitForGc()230 lk.unlock(); in waitForGc()359 std::unique_lock<std::mutex> lk(cv_m); in RunIdleMaint() local369 lk.unlock(); in RunIdleMaint()385 lk.lock(); in RunIdleMaint()387 lk.unlock(); in RunIdleMaint()411 std::unique_lock<std::mutex> lk(cv_m); in AbortIdleMaint() local414 lk.unlock(); in AbortIdleMaint()[all …]
62 std::lock_guard<std::mutex> lk(m_); in StartThreads() local72 std::unique_lock<std::mutex> lk(m_); in StartThreads() local73 cv_stop_.wait(lk, [&] { return stop_; }); in StartThreads()79 std::unique_lock<std::mutex> lk(m_); in StartThreads() local80 cv_start_.wait(lk, [&] { return tids_.size() == threads; }); in StartThreads()86 std::lock_guard<std::mutex> lk(m_); in StopThreads() local
1938 std::unique_lock lk(cvMutex); in TEST_F() local1941 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lk, std::chrono::seconds(1))); in TEST_F()
1882 isoCode:"lk"
1 …lk+YETf+4v6jFzkvWq4japWpuq1p7HKc65/D5I83PGg3rQbJ5W5CHmvPln5sHtJA58kXvfp/hBG/EJ1Orqwue8O381DV//Gnib…