worker_pool_posix_unittest.cc | 32 int num_idle_threads() const { return pool_->num_idle_threads_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer 116 void WaitForIdleThreads(int num_idle_threads) { 118 while (peer_.num_idle_threads() < num_idle_threads) { 152 EXPECT_EQ(0, peer_.num_idle_threads()); 181 EXPECT_EQ(2, peer_.num_idle_threads()); 197 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle."; 217 EXPECT_EQ(2, peer_.num_idle_threads()); 223 while (peer_.num_idle_threads() > 0) { 249 EXPECT_EQ(1, peer_.num_idle_threads()); [all...] |