Searched refs:num_idle_threads (Results 1 – 1 of 1) sorted by relevance
33 int num_idle_threads() const { return pool_->num_idle_threads_; } in num_idle_threads() function in base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer118 void WaitForIdleThreads(int num_idle_threads) { in WaitForIdleThreads() argument120 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()