Home
last modified time | relevance | path

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

/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/
H A Dtask_queue_factory.cpp140 : threadCount_(threadCount), threads_(make_unique<ThreadContext[]>(threadCount)) in ThreadPool()
145 auto threads = array_view<ThreadContext>(threads_.get(), threadCount_); in ThreadPool()
188 return static_cast<uint32_t>(threadCount_);
314 auto threads = array_view(threads_.get(), threadCount_); in Stop()
328 auto threads = array_view(threads_.get(), threadCount_); in Stop()
382 size_t threadCount_ { 0 };
/foundation/arkui/napi/native_engine/
H A Dnative_safe_async_work.cpp84 threadCount_(threadCount), finalizeData_(finalizeData), finalizeCallback_(finalizeCallback), in NativeSafeAsyncWork()
181 if (threadCount_ == 0) { in Send()
184 threadCount_--; in Send()
216 threadCount_++; in Acquire()
233 if (threadCount_ == 0) { in Release()
239 threadCount_--; in Release()
248 if (threadCount_ == 0 || in Release()
341 if (size == 0 && threadCount_ == 0) { in ProcessAsyncHandle()
H A Dnative_safe_async_work.h96 size_t threadCount_ = 0; member in NativeSafeAsyncWork

Completed in 2 milliseconds