Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Dthread_pool.cpp39 if (!threads_.empty()) { in Start()
47 threads_.reserve(numThreads); in Start()
56 threads_.push_back(std::move(t)); in Start()
69 for (auto& e : threads_) { in Stop()
76 if (threads_.empty()) { in AddTask()
/commonlibrary/c_utils/base/include/
H A Dthread_pool.h93 size_t GetThreadsNum() const { return threads_.size(); } in GetThreadsNum()
110 std::vector<std::thread> threads_; member in OHOS::ThreadPool

Completed in 1 milliseconds