HomeSort by relevance Sort by last modified time
    Searched full:num_idle_threads (Results 1 - 1 of 1) sorted by null

  /external/libchrome/base/threading/
worker_pool_posix_unittest.cc 33 int num_idle_threads() const { return pool_->num_idle_threads_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
113 void WaitForIdleThreads(int num_idle_threads) {
115 while (peer_.num_idle_threads() < num_idle_threads) {
149 EXPECT_EQ(0, peer_.num_idle_threads());
178 EXPECT_EQ(2, peer_.num_idle_threads());
194 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle.";
214 EXPECT_EQ(2, peer_.num_idle_threads());
220 while (peer_.num_idle_threads() > 0) {
246 EXPECT_EQ(1, peer_.num_idle_threads());
    [all...]

Completed in 89 milliseconds