Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/core/data/
H A 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()
H A 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;
H A 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()
H A Dstandalone.h130 UnboundedThreadPool unbounded_thread_pool_;
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/data/
H A Diterator_ops.h138 UnboundedThreadPool unbounded_thread_pool_;
H A Dmulti_device_iterator_ops.cc458 UnboundedThreadPool unbounded_thread_pool_;
H A Diterator_ops.cc696 UnboundedThreadPool unbounded_threadpool_;