Home
last modified time | relevance | path

Searched refs:PosixDynamicThreadPool (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/threading/
Dworker_pool_posix.cc43 scoped_refptr<base::PosixDynamicThreadPool> pool_;
47 : pool_(new base::PosixDynamicThreadPool("WorkerPool", in WorkerPoolImpl()
66 base::PosixDynamicThreadPool* pool) in WorkerThread()
73 scoped_refptr<base::PosixDynamicThreadPool> pool_;
121 PosixDynamicThreadPool::PosixDynamicThreadPool(const std::string& name_prefix, in PosixDynamicThreadPool() function in base::PosixDynamicThreadPool
129 PosixDynamicThreadPool::~PosixDynamicThreadPool() { in ~PosixDynamicThreadPool()
134 void PosixDynamicThreadPool::Terminate() { in Terminate()
143 void PosixDynamicThreadPool::PostTask( in PostTask()
150 void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { in AddTask()
169 PendingTask PosixDynamicThreadPool::WaitForTask() { in WaitForTask()
Dworker_pool_posix.h45 class BASE_EXPORT PosixDynamicThreadPool
46 : public RefCountedThreadSafe<PosixDynamicThreadPool> {
52 PosixDynamicThreadPool(const std::string& name_prefix,
68 friend class RefCountedThreadSafe<PosixDynamicThreadPool>;
71 ~PosixDynamicThreadPool();
93 DISALLOW_COPY_AND_ASSIGN(PosixDynamicThreadPool);
Dworker_pool_posix_unittest.cc21 class PosixDynamicThreadPool::PosixDynamicThreadPoolPeer {
23 explicit PosixDynamicThreadPoolPeer(PosixDynamicThreadPool* pool) in PosixDynamicThreadPoolPeer()
42 PosixDynamicThreadPool* pool_;
94 : pool_(new base::PosixDynamicThreadPool("dynamic_pool", 60 * 60)), in PosixDynamicThreadPoolTest()
139 scoped_refptr<base::PosixDynamicThreadPool> pool_;
140 base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer peer_;