Home
last modified time | relevance | path

Searched refs:UnboundedThreadPool (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Dunbounded_thread_pool.cc27 class UnboundedThreadPool::LogicalThreadFactory : public ThreadFactory {
29 explicit LogicalThreadFactory(UnboundedThreadPool* pool) : pool_(pool) {} in LogicalThreadFactory()
37 UnboundedThreadPool* const pool_; // Not owned.
46 class UnboundedThreadPool::LogicalThreadWrapper : public Thread {
64 UnboundedThreadPool::~UnboundedThreadPool() { in ~UnboundedThreadPool()
90 std::shared_ptr<ThreadFactory> UnboundedThreadPool::get_thread_factory() { in get_thread_factory()
94 size_t UnboundedThreadPool::size() { in size()
99 std::unique_ptr<Thread> UnboundedThreadPool::RunOnPooledThread( in RunOnPooledThread()
120 std::bind(&UnboundedThreadPool::PooledThreadFunc, this)); in RunOnPooledThread()
129 void UnboundedThreadPool::PooledThreadFunc() { in PooledThreadFunc()
Dunbounded_thread_pool_test.cc26 TEST(UnboundedThreadPool, SingleThread) { in TEST() argument
27 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
40 TEST(UnboundedThreadPool, MultipleThreads) { in TEST() argument
41 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
58 TEST(UnboundedThreadPool, MultipleThreadsSleepingRandomly) { in TEST() argument
59 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
79 TEST(UnboundedThreadPool, ConcurrentThreadCreation) { in TEST() argument
80 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
104 TEST(UnboundedThreadPool, MultipleBlockingThreads) { in TEST() argument
105 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
Dunbounded_thread_pool.h39 class UnboundedThreadPool {
41 UnboundedThreadPool(Env* env, const string& thread_name) in UnboundedThreadPool() function
43 ~UnboundedThreadPool();
Dmulti_device_iterator_ops.cc352 UnboundedThreadPool unbounded_thread_pool_;
Diterator_ops.cc295 UnboundedThreadPool unbounded_thread_pool_;