Home | History | Annotate | Download | only in threading

Lines Matching refs:PosixDynamicThreadPool

12 // although PosixDynamicThreadPool spawns the worker threads and manages the
14 // PosixDynamicThreadPool for work and eventually clean themselves up. The
15 // worker threads all maintain scoped_refptrs to the PosixDynamicThreadPool
16 // instance, which prevents PosixDynamicThreadPool from disappearing before all
17 // worker threads exit. The owner of PosixDynamicThreadPool should likewise
18 // maintain a scoped_refptr to the PosixDynamicThreadPool instance.
42 class PosixDynamicThreadPool
43 : public RefCountedThreadSafe<PosixDynamicThreadPool> {
49 PosixDynamicThreadPool(const std::string& name_prefix,
51 ~PosixDynamicThreadPool();
57 // Adds |task| to the thread pool. PosixDynamicThreadPool assumes ownership
84 DISALLOW_COPY_AND_ASSIGN(PosixDynamicThreadPool);