OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ThreadPool
(Results
26 - 50
of
113
) sorted by null
1
2
3
4
5
/external/opencv3/samples/python2/
gabor_threads.py
19
from multiprocessing.pool import
ThreadPool
42
pool =
ThreadPool
(processes=threadn)
video_threaded.py
22
from multiprocessing.pool import
ThreadPool
56
pool =
ThreadPool
(processes = threadn)
/packages/apps/Gallery2/src/com/android/gallery3d/data/
ActionImage.java
27
import com.android.gallery3d.util.
ThreadPool
.Job;
28
import com.android.gallery3d.util.
ThreadPool
.JobContext;
DownloadUtils.java
20
import com.android.gallery3d.util.
ThreadPool
.CancelListener;
21
import com.android.gallery3d.util.
ThreadPool
.JobContext;
DownloadCache.java
31
import com.android.gallery3d.util.
ThreadPool
;
32
import com.android.gallery3d.util.
ThreadPool
.CancelListener;
33
import com.android.gallery3d.util.
ThreadPool
.Job;
34
import com.android.gallery3d.util.
ThreadPool
.JobContext;
317
jc.setMode(
ThreadPool
.MODE_NETWORK);
323
jc.setMode(
ThreadPool
.MODE_NETWORK);
325
jc.setMode(
ThreadPool
.MODE_NONE);
330
jc.setMode(
ThreadPool
.MODE_NONE);
ImageCacheRequest.java
25
import com.android.gallery3d.util.
ThreadPool
.Job;
26
import com.android.gallery3d.util.
ThreadPool
.JobContext;
BytesBufferPool.java
19
import com.android.gallery3d.util.
ThreadPool
.JobContext;
MediaItem.java
24
import com.android.gallery3d.util.
ThreadPool
.Job;
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetUtils.java
29
import com.android.gallery3d.util.
ThreadPool
;
49
.run(
ThreadPool
.JOB_CONTEXT_STUB);
/libcore/luni/src/test/java/tests/java/sql/
StressTest.java
32
import tests.support.
ThreadPool
;
126
ThreadPool
threadPool
= new
ThreadPool
(numTasks);
130
threadPool
.runTask(createTask(i));
133
threadPool
.join();
199
ThreadPool
threadPool
= new
ThreadPool
(numConnections);
203
threadPool
.runTask(insertTask(numConnections, i))
[
all
...]
/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) {
/packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java
32
import com.android.gallery3d.util.
ThreadPool
;
161
private static final
ThreadPool
sThreadPool = new
ThreadPool
(0, 2);
/art/runtime/
barrier_test.cc
63
ThreadPool
thread_pool("Barrier test thread pool", num_threads);
114
ThreadPool
thread_pool("Barrier test thread pool", num_threads);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsAddressResolver.java
30
import com.android.gallery3d.util.
ThreadPool
.Job;
31
import com.android.gallery3d.util.
ThreadPool
.JobContext;
AlbumLabelMaker.java
32
import com.android.gallery3d.util.
ThreadPool
;
33
import com.android.gallery3d.util.
ThreadPool
.JobContext;
117
public
ThreadPool
.Job<Bitmap> requestLabel(
132
private class AlbumLabelJob implements
ThreadPool
.Job<Bitmap> {
CacheStorageUsageInfo.java
23
import com.android.gallery3d.util.
ThreadPool
.JobContext;
/external/jetty/src/java/org/eclipse/jetty/server/
Connector.java
26
import org.eclipse.jetty.util.thread.
ThreadPool
;
32
* threads from the
ThreadPool
set on the connector.
35
* will set itself as both the
ThreadPool
and the Handler. Note that a connector
369
* {@link
ThreadPool
#isLowOnThreads()} on the connector
threadpool
370
* or the server
threadpool
if there is no connector
threadpool
.
/external/jetty/src/java/org/eclipse/jetty/websocket/
WebSocketClientFactory.java
55
import org.eclipse.jetty.util.thread.
ThreadPool
;
60
* (for example, a {@link
ThreadPool
}, a {@link SelectorManager NIO selector}, etc).</p>
62
* <p>If a
ThreadPool
or MaskGen is passed in the constructor, then it is not added with {@link AggregateLifeCycle#addBean(Object)},
73
private final
ThreadPool
_threadPool;
89
* <p>Creates a WebSocketClientFactory with the given
ThreadPool
and the default configuration.</p>
91
* @param
threadPool
the
ThreadPool
instance to use
93
public WebSocketClientFactory(
ThreadPool
threadPool
)
95
this(
threadPool
, new RandomMaskGen())
[
all
...]
/external/valgrind/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);
/art/runtime/gc/
task_processor_test.cc
66
ThreadPool
thread_pool("task processor test", 1U);
136
ThreadPool
thread_pool("task processor test", 1U);
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/dummy/
__init__.py
150
from multiprocessing.pool import
ThreadPool
151
return
ThreadPool
(processes, initializer, initargs)
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/dummy/
__init__.py
150
from multiprocessing.pool import
ThreadPool
151
return
ThreadPool
(processes, initializer, initargs)
/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)
/art/compiler/
elf_writer_quick.cc
124
std::unique_ptr<
ThreadPool
> debug_info_thread_pool_;
231
debug_info_thread_pool_ = std::unique_ptr<
ThreadPool
>(
232
new
ThreadPool
("Mini-debug-info writer", 1));
Completed in 832 milliseconds
1
2
3
4
5