Searched refs:thread_pool (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/system/ulib/dispatcher-pool/
H A Ddispatcher-execution-domain.cpp21 fbl::RefPtr<ThreadPool> thread_pool;
22 zx_status_t res = ThreadPool::Get(&thread_pool, priority);
25 ZX_DEBUG_ASSERT(thread_pool != nullptr);
28 auto new_domain = fbl::AdoptRef(new (&ac) ExecutionDomain(thread_pool, fbl::move(evt)));
32 res = thread_pool->AddDomainToPool(new_domain);
39 ExecutionDomain::ExecutionDomain(fbl::RefPtr<ThreadPool> thread_pool, argument
42 thread_pool_(fbl::move(thread_pool)),
H A Ddispatcher-event-source.cpp67 auto thread_pool = domain->GetThreadPool(); local
68 if (thread_pool == nullptr)
78 thread_pool_ = fbl::move(thread_pool);
/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/
H A Ddispatcher-execution-domain.h127 ExecutionDomain(fbl::RefPtr<ThreadPool> thread_pool, zx::event dispatch_idle_evt);

Completed in 7 milliseconds