OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ThreadPool
(Results
1 - 17
of
17
) sorted by null
/build/kati/
thread_pool.h
22
class
ThreadPool
{
24
virtual ~
ThreadPool
() = default;
30
ThreadPool
() = default;
33
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
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
ThreadPool.cpp
1
//==-- llvm/Support/
ThreadPool
.cpp - A
ThreadPool
implementation -*- C++ -*-==//
14
#include "llvm/Support/
ThreadPool
.h"
25
ThreadPool
::
ThreadPool
() :
ThreadPool
(hardware_concurrency()) {}
27
ThreadPool
::
ThreadPool
(unsigned ThreadCount)
60
// Adjust `ActiveThreads`, in case someone waits on
ThreadPool
::wait()
65
// Notify task completion, in case someone waits on
ThreadPool
::wait(
[
all
...]
/external/tensorflow/tensorflow/core/lib/core/
threadpool.h
31
class
ThreadPool
{
38
// wait. Conversely, if the
threadpool
is used to schedule high-latency
42
ThreadPool
(Env* env, const ThreadOptions& thread_options, const string& name,
50
ThreadPool
(Env* env, const string& name, int num_threads);
56
ThreadPool
(Env* env, const ThreadOptions& thread_options, const string& name,
61
~
ThreadPool
();
127
TF_DISALLOW_COPY_AND_ASSIGN(
ThreadPool
);
threadpool.cc
16
#include "tensorflow/core/lib/core/
threadpool
.h"
88
struct
ThreadPool
::Impl : Eigen::ThreadPoolTempl<EigenEnvironment> {
109
ThreadPool
::
ThreadPool
(Env* env, const string& name, int num_threads)
110
:
ThreadPool
(env, ThreadOptions(), name, num_threads, true, nullptr) {}
112
ThreadPool
::
ThreadPool
(Env* env, const ThreadOptions& thread_options,
114
:
ThreadPool
(env, thread_options, name, num_threads, true, nullptr) {}
116
ThreadPool
::
ThreadPool
(Env* env, const ThreadOptions& thread_options
[
all
...]
/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
() {};
/external/libxcam/xcore/
thread_pool.cpp
32
UserThread (const SmartPtr<
ThreadPool
> &pool, const char *name)
43
SmartPtr<
ThreadPool
> _pool;
70
SmartPtr<
ThreadPool
::UserData> data = _pool->_data_queue.pop ();
92
ThreadPool
::dispatch (const SmartPtr<
ThreadPool
::UserData> &data)
96
"
ThreadPool
(%s) dispatch NULL data", XCAM_STR (get_name ()));
102
ThreadPool
::
ThreadPool
(const char *name)
114
ThreadPool
::~
ThreadPool
()
[
all
...]
thread_pool.h
32
class
ThreadPool
50
explicit
ThreadPool
(const char *name);
51
virtual ~
ThreadPool
();
67
XCAM_DEAD_COPY (
ThreadPool
);
/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
();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
ThreadPool.h
1
//===-- llvm/Support/
ThreadPool
.h - A
ThreadPool
implementation -*- C++ -*-===//
32
/// A
ThreadPool
for asynchronous parallel execution on a defined number of
37
class
ThreadPool
{
44
ThreadPool
();
47
ThreadPool
(unsigned ThreadCount);
50
~
ThreadPool
();
/art/runtime/
thread_pool.cc
43
ThreadPoolWorker::ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name,
113
void
ThreadPool
::AddTask(Thread* self, Task* task) {
122
void
ThreadPool
::RemoveAllTasks(Thread* self) {
127
ThreadPool
::
ThreadPool
(const char* name,
147
void
ThreadPool
::CreateThreads() {
164
void
ThreadPool
::WaitForWorkersToBeCreated() {
168
const std::vector<ThreadPoolWorker*>&
ThreadPool
::GetWorkers() {
174
void
ThreadPool
::DeleteThreads() {
190
void
ThreadPool
::SetMaxActiveWorkers(size_t max_workers)
[
all
...]
thread_pool.h
30
class
ThreadPool
;
92
ThreadPoolWorker(
ThreadPool
* thread_pool, const std::string& name, size_t stack_size);
96
ThreadPool
* const thread_pool_;
103
friend class
ThreadPool
;
108
class
ThreadPool
{
135
ThreadPool
(const char* name,
139
virtual ~
ThreadPool
();
149
// When the pool was created with peers for workers, do_work must not be true (see
ThreadPool
()).
207
DISALLOW_COPY_AND_ASSIGN(
ThreadPool
);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorDeviceThreadPool.h
19
typedef NonBlockingThreadPool
ThreadPool
;
22
typedef SimpleThreadPool
ThreadPool
;
/external/python/cpython2/Lib/multiprocessing/
pool.py
727
class
ThreadPool
(Pool):
/external/python/cpython3/Lib/multiprocessing/
pool.py
10
__all__ = ['Pool', '
ThreadPool
']
24
# If threading is available then
ThreadPool
should be provided. Therefore
793
class
ThreadPool
(Pool):
/frameworks/av/services/audioflinger/
NBAIO_Tee.cpp
159
// yet another
ThreadPool
implementation.
160
class
ThreadPool
{
162
ThreadPool
(size_t size)
167
if the
threadpool
is exhausted, it will launch on calling function */
362
status_t AudioFileHandler::
ThreadPool
::launch(
/external/guice/extensions/struts2/lib/
jetty-util-6.1.0.jar
Completed in 476 milliseconds