OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ThreadPool
(Results
1 - 15
of
15
) sorted by null
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
thread_pool.cc
18
ThreadPool
::
ThreadPool
(int num_threads)
45
ThreadPool
::~
ThreadPool
() {
56
void
ThreadPool
::Setup(int counter, WorkFunction work, void *data) {
64
int
ThreadPool
::DecCounter() {
71
void
ThreadPool
::PostExitAndJoinAll() {
82
void
ThreadPool
::WorkLoop() {
100
void*
ThreadPool
::WorkerThreadEntry(void* thiz) {
101
static_cast<
ThreadPool
*>(thiz)->WorkLoop()
[
all
...]
thread_pool.h
20
//
ThreadPool
is a class to manage num_threads and assign
26
class
ThreadPool
{
29
explicit
ThreadPool
(int num_threads);
30
~
ThreadPool
();
/art/runtime/
thread_pool.h
30
class
ThreadPool
;
49
ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name, size_t stack_size);
53
ThreadPool
* const thread_pool_;
59
friend class
ThreadPool
;
63
class
ThreadPool
{
80
explicit
ThreadPool
(size_t num_threads);
81
virtual ~
ThreadPool
();
129
DISALLOW_COPY_AND_ASSIGN(
ThreadPool
);
160
WorkStealingWorker(
ThreadPool
* thread_pool, const std::string& name, size_t stack_size);
168
class WorkStealingThreadPool : public
ThreadPool
{
[
all
...]
thread_pool.cc
28
ThreadPoolWorker::ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name,
65
void
ThreadPool
::AddTask(Thread* self, Task* task) {
74
ThreadPool
::
ThreadPool
(size_t num_threads)
95
void
ThreadPool
::SetMaxActiveWorkers(size_t threads) {
101
ThreadPool
::~
ThreadPool
() {
115
void
ThreadPool
::StartWorkers(Thread* self) {
123
void
ThreadPool
::StopWorkers(Thread* self) {
128
Task*
ThreadPool
::GetTask(Thread* self)
[
all
...]
/external/valgrind/unittest/
thread_wrappers.h
220
ThreadPool
pool(n_workers);
227
// the ~
ThreadPool
() is called: we wait workers to finish
231
class
ThreadPool
{
234
explicit
ThreadPool
(int n_threads)
237
MyThread *thread = new MyThread(&
ThreadPool
::Worker, this);
257
~
ThreadPool
() {
271
ThreadPool
*pool = reinterpret_cast<
ThreadPool
*>(p);
/frameworks/wilhelm/src/
ThreadPool.h
17
/** \file
ThreadPool
.h
ThreadPool
interface */
50
/** \brief
ThreadPool
manages a pool of worker threads that execute Closures */
84
}
ThreadPool
;
86
extern SLresult ThreadPool_init(
ThreadPool
*tp, unsigned maxClosures, unsigned maxThreads);
87
extern void ThreadPool_deinit(
ThreadPool
*tp);
88
extern SLresult ThreadPool_add(
ThreadPool
*tp, ClosureKind kind,
91
extern Closure *ThreadPool_remove(
ThreadPool
*tp);
92
extern SLresult ThreadPool_add_ppi(
ThreadPool
*tp, ClosureHandler_ppi handler,
94
extern SLresult ThreadPool_add_ppii(
ThreadPool
*tp, ClosureHandler_ppii handler
[
all
...]
/libcore/luni/src/test/java/tests/support/
ThreadPool.java
22
public class
ThreadPool
extends ThreadGroup {
32
public
ThreadPool
(int numThreads) {
33
super("
ThreadPool
-" + (threadPoolID++));
93
super(
ThreadPool
.this, "PooledThread-" + (threadID++));
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py
150
from multiprocessing.pool import
ThreadPool
151
return
ThreadPool
(processes, initializer, initargs)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py
150
from multiprocessing.pool import
ThreadPool
151
return
ThreadPool
(processes, initializer, initargs)
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
ThreadPool.java
26
public class
ThreadPool
{
28
private static final String TAG = "
ThreadPool
";
83
public
ThreadPool
() {
87
public
ThreadPool
(int initPoolSize, int maxPoolSize) {
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
pool.py
709
class
ThreadPool
(Pool):
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
pool.py
709
class
ThreadPool
(Pool):
/external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h
490
ThreadPool
pool(n_workers);
497
// the ~
ThreadPool
() is called: we wait workers to finish
501
class
ThreadPool
{
504
explicit
ThreadPool
(int n_threads)
507
MyThread *thread = new MyThread(&
ThreadPool
::Worker, this);
527
~
ThreadPool
() {
541
ThreadPool
*pool = reinterpret_cast<
ThreadPool
*>(p);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
android.py
39
from multiprocessing.pool import
ThreadPool
558
pool =
ThreadPool
(num_workers)
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.mortbay.jetty.util_6.1.23.v201004211559.jar
Completed in 396 milliseconds