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

  /external/chromium/base/threading/
worker_pool_posix_unittest.cc 29 int num_idle_threads() const { return pool_->num_idle_threads_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
147 void WaitForIdleThreads(int num_idle_threads) {
149 while (peer_.num_idle_threads() < num_idle_threads) {
181 EXPECT_EQ(0, peer_.num_idle_threads());
192 EXPECT_EQ(1, peer_.num_idle_threads());
211 EXPECT_EQ(2, peer_.num_idle_threads());
227 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle.";
247 EXPECT_EQ(2, peer_.num_idle_threads());
253 while (peer_.num_idle_threads() > 0)
    [all...]
  /external/chromium_org/base/threading/
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());
163 EXPECT_EQ(1, peer_.num_idle_threads());
182 EXPECT_EQ(2, peer_.num_idle_threads());
198 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle.";
218 EXPECT_EQ(2, peer_.num_idle_threads());
224 while (peer_.num_idle_threads() > 0)
    [all...]

Completed in 38 milliseconds