OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ThreadPool
(Results
1 - 25
of
116
) sorted by null
1
2
3
4
5
/build/kati/
thread_pool.h
22
class
ThreadPool
{
24
virtual ~
ThreadPool
() = default;
30
ThreadPool
() = default;
33
ThreadPool
* NewThreadPool(int num_threads);
thread_pool.cc
27
class ThreadPoolImpl : public
ThreadPool
{
90
ThreadPool
* NewThreadPool(int num_threads) {
/external/llvm/lib/Support/
ThreadPool.cpp
1
//==-- llvm/Support/
ThreadPool
.cpp - A
ThreadPool
implementation -*- C++ -*-==//
14
#include "llvm/Support/
ThreadPool
.h"
24
ThreadPool
::
ThreadPool
() :
ThreadPool
(std::thread::hardware_concurrency()) {}
26
ThreadPool
::
ThreadPool
(unsigned ThreadCount)
63
// Adjust `ActiveThreads`, in case someone waits on
ThreadPool
::wait()
68
// Notify task completion, in case someone waits on
ThreadPool
::wait(
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
BatchService.java
24
import com.android.gallery3d.util.
ThreadPool
;
35
private
ThreadPool
mThreadPool = new
ThreadPool
(1, 1);
42
// The
threadpool
returned by getThreadPool must have only 1 thread
45
public
ThreadPool
getThreadPool() {
GalleryContext.java
24
import com.android.gallery3d.util.
ThreadPool
;
33
public
ThreadPool
getThreadPool();
GalleryApp.java
27
import com.android.gallery3d.util.
ThreadPool
;
34
public
ThreadPool
getThreadPool();
GalleryAppImpl.java
30
import com.android.gallery3d.util.
ThreadPool
;
43
private
ThreadPool
mThreadPool;
83
public synchronized
ThreadPool
getThreadPool() {
85
mThreadPool = new
ThreadPool
();
/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/ojluni/src/main/java/sun/nio/ch/
ThreadPool.java
37
public class
ThreadPool
{
52
private
ThreadPool
(ExecutorService executor,
94
final static
ThreadPool
defaultThreadPool = createDefault();
98
static
ThreadPool
getDefault() {
103
static
ThreadPool
createDefault() {
114
return new
ThreadPool
(executor, false, initialSize);
118
static
ThreadPool
create(int nThreads, ThreadFactory factory) {
122
return new
ThreadPool
(executor, true, nThreads);
126
public static
ThreadPool
wrap(ExecutorService executor, int initialSize) {
145
return new
ThreadPool
(executor, false, initialSize)
[
all
...]
LinuxAsynchronousChannelProvider.java
43
defaultPort = new EPollPort(this,
ThreadPool
.getDefault()).start();
57
return new EPollPort(this,
ThreadPool
.create(nThreads, factory)).start();
64
return new EPollPort(this,
ThreadPool
.wrap(executor, initialSize)).start();
/external/icu/icu4c/source/test/intltest/
simplethread.h
31
//
ThreadPool
- utililty class to simplify the spawning a group of threads by
35
//
ThreadPool
<TestClass> pool(
65
class
ThreadPool
: public ThreadPoolBase {
69
ThreadPool
(TestClass *test, int howMany, void (TestClass::*runFnPtr)(int32_t threadNumber)) :
71
virtual ~
ThreadPool
() {};
/art/runtime/
thread_pool.h
29
class
ThreadPool
;
68
ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name, size_t stack_size);
72
ThreadPool
* const thread_pool_;
79
friend class
ThreadPool
;
84
class
ThreadPool
{
113
ThreadPool
(const char* name, size_t num_threads, bool create_peers = false);
114
virtual ~
ThreadPool
();
118
// When the pool was created with peers for workers, do_work must not be true (see
ThreadPool
()).
173
DISALLOW_COPY_AND_ASSIGN(
ThreadPool
);
thread_pool.cc
41
ThreadPoolWorker::ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name,
105
void
ThreadPool
::AddTask(Thread* self, Task* task) {
114
void
ThreadPool
::RemoveAllTasks(Thread* self) {
119
ThreadPool
::
ThreadPool
(const char* name, size_t num_threads, bool create_peers)
144
void
ThreadPool
::SetMaxActiveWorkers(size_t threads) {
150
ThreadPool
::~
ThreadPool
() {
164
void
ThreadPool
::StartWorkers(Thread* self) {
172
void
ThreadPool
::StopWorkers(Thread* self)
[
all
...]
thread_pool_test.cc
64
ThreadPool
thread_pool("Thread pool test thread pool", num_threads);
79
ThreadPool
thread_pool("Thread pool test thread pool", num_threads);
104
ThreadPool
thread_pool("Thread pool test thread pool", num_threads);
127
TreeTask(
ThreadPool
* const thread_pool, AtomicInteger* count, int depth)
146
ThreadPool
* const thread_pool_;
154
ThreadPool
thread_pool("Thread pool test thread pool", num_threads);
195
ThreadPool
thread_pool("Thread pool test thread pool", 1);
207
ThreadPool
thread_pool("Thread pool test thread pool", 1, true);
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
31
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
36
class
ThreadPool
{
52
ThreadPool
();
55
ThreadPool
(unsigned ThreadCount);
58
~
ThreadPool
();
/packages/apps/Gallery2/src/com/android/gallery3d/data/
PanoramaMetadataJob.java
24
import com.android.gallery3d.util.
ThreadPool
.Job;
25
import com.android.gallery3d.util.
ThreadPool
.JobContext;
/external/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
46
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
51
class
ThreadPool
{
67
ThreadPool
();
70
ThreadPool
(unsigned ThreadCount);
73
~
ThreadPool
();
/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++));
Completed in 487 milliseconds
1
2
3
4
5