Searched refs:wait_to_take (Results 1 – 3 of 3) sorted by relevance
90 EXPECT_FALSE(queue_.wait_to_take(std::chrono::milliseconds(3))); in TEST_F()96 EXPECT_TRUE(queue_.wait_to_take(std::chrono::milliseconds(3))); in TEST_F()102 …std::thread waiter_thread([this] { EXPECT_TRUE(queue_.wait_to_take(std::chrono::milliseconds(3)));… in TEST_F()
49 bool wait_to_take(std::chrono::milliseconds time) { in wait_to_take() function
57 if (pending_events_.wait_to_take(500ms)) { in RunLoop()