Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/oss/src/utils/
A DThreadExecutor.cc39 auto it = threads_.begin(); in ~ThreadExecutor()
40 while (!threads_.empty()) in ~ThreadExecutor()
43 it = threads_.erase(it); in ~ThreadExecutor()
65 threads_.emplace(id, std::move(t)); in execute()
81 auto it = threads_.find(id); in detach()
82 assert(it != threads_.end()); in detach()
84 threads_.erase(it); in detach()
A DThreadExecutor.h38 std::unordered_map<std::thread::id, std::thread> threads_; variable
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dthread_pool.cc187 threads_[i - 1]->StartWork(reinterpret_cast<Task*>(task_address)); in ExecuteImpl()
205 if (threads_.size() >= unsigned_threads_count) { in CreateThreads()
208 counter_to_decrement_when_ready_.Reset(threads_count - threads_.size()); in CreateThreads()
209 while (threads_.size() < unsigned_threads_count) { in CreateThreads()
210 threads_.push_back( in CreateThreads()
217 for (auto w : threads_) { in ~ThreadPool()
A Dthread_pool.h103 std::vector<Thread*> threads_; variable

Completed in 7 milliseconds