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.cc34 class UnboundedThreadPool::LogicalThreadWrapper : public Thread {
53 class UnboundedThreadPool::LogicalThreadFactory : public ThreadFactory {
55 explicit LogicalThreadFactory(UnboundedThreadPool* pool) : pool_(pool) {} in LogicalThreadFactory()
65 UnboundedThreadPool* const pool_; // Not owned.
68 std::shared_ptr<ThreadFactory> UnboundedThreadPool::get_thread_factory() { in get_thread_factory()
72 void UnboundedThreadPool::Schedule(std::function<void()> fn) { in Schedule()
80 int UnboundedThreadPool::NumThreads() const { return -1; } in NumThreads()
82 int UnboundedThreadPool::CurrentThreadId() const { return -1; } in CurrentThreadId()
94 void UnboundedThreadPool::ScheduleOnWorkQueue( in ScheduleOnWorkQueue()
Dunbounded_thread_pool.h35 class UnboundedThreadPool : public thread::ThreadPoolInterface {
37 UnboundedThreadPool(Env* env, const string& thread_name) in UnboundedThreadPool() function
39 UnboundedThreadPool(Env* env, const string& thread_name, in UnboundedThreadPool() function
42 ~UnboundedThreadPool() override = default;
Dunbounded_thread_pool_test.cc26 TEST(UnboundedThreadPool, ConcurrentThreadCreation) { in TEST() argument
27 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
51 TEST(UnboundedThreadPool, MultipleBlockingThreads) { in TEST() argument
52 UnboundedThreadPool pool(Env::Default(), "test"); in TEST()
Diterator_ops.h124 UnboundedThreadPool unbounded_thread_pool_;
Dmulti_device_iterator_ops.cc375 UnboundedThreadPool unbounded_thread_pool_;