Searched refs:IncrementingTask (Results 1 - 2 of 2) sorted by relevance

/external/chromium/base/threading/
H A Dworker_pool_posix_unittest.cc45 // IncrementingTask's main purpose is to increment a counter. It also updates a
48 // threads used if more than one IncrementingTask is consecutively posted to the
51 class IncrementingTask : public Task { class in namespace:base::__anon1811
53 IncrementingTask(Lock* counter_lock, function in class:base::__anon1811::IncrementingTask
79 DISALLOW_COPY_AND_ASSIGN(IncrementingTask);
82 // BlockingIncrementingTask is a simple wrapper around IncrementingTask that
112 IncrementingTask incrementer_;
155 return new IncrementingTask(&counter_lock_, &counter_,
/external/chromium_org/base/threading/
H A Dworker_pool_posix_unittest.cc48 // IncrementingTask's main purpose is to increment a counter. It also updates a
51 // threads used if more than one IncrementingTask is consecutively posted to the
54 void IncrementingTask(Lock* counter_lock, function in namespace:base::__anon4051
66 // BlockingIncrementingTask is a simple wrapper around IncrementingTask that
86 IncrementingTask(args.counter_lock, args.counter, args.unique_threads_lock,
124 return base::Bind(&IncrementingTask, &counter_lock_, &counter_,

Completed in 214 milliseconds