Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dworker_pool_posix_unittest.cc33 int num_idle_threads() const { return pool_->num_idle_threads_; } in num_idle_threads() function in base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
118 void WaitForIdleThreads(int num_idle_threads) { in WaitForIdleThreads() argument
120 while (peer_.num_idle_threads() < num_idle_threads) { in WaitForIdleThreads()
154 EXPECT_EQ(0, peer_.num_idle_threads()); in TEST_F()
183 EXPECT_EQ(2, peer_.num_idle_threads()); in TEST_F()
199 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle."; in TEST_F()
219 EXPECT_EQ(2, peer_.num_idle_threads()); in TEST_F()
225 while (peer_.num_idle_threads() > 0) { in TEST_F()
251 EXPECT_EQ(1, peer_.num_idle_threads()); in TEST_F()