OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PosixDynamicThreadPool
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/threading/
worker_pool_posix.cc
33
scoped_refptr<base::
PosixDynamicThreadPool
> pool_;
37
: pool_(new base::
PosixDynamicThreadPool
("WorkerPool",
56
base::
PosixDynamicThreadPool
* pool)
66
scoped_refptr<base::
PosixDynamicThreadPool
> pool_;
96
PosixDynamicThreadPool
::
PosixDynamicThreadPool
(
106
PosixDynamicThreadPool
::~
PosixDynamicThreadPool
() {
114
void
PosixDynamicThreadPool
::Terminate() {
123
void
PosixDynamicThreadPool
::PostTask(Task* task)
[
all
...]
worker_pool_posix.h
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
();
[
all
...]
Completed in 219 milliseconds