Home
last modified time | relevance | path

Searched refs:Tasks (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Support/
H A DThreadPool.cpp40 [&] { return !EnableFlag || !Tasks.empty(); }); in ThreadPool()
42 if (!EnableFlag && Tasks.empty()) in ThreadPool()
53 Task = std::move(Tasks.front()); in ThreadPool()
54 Tasks.pop(); in ThreadPool()
79 [&] { return !ActiveThreads && Tasks.empty(); }); in wait()
93 Tasks.push(std::move(PackagedTask)); in asyncImpl()
125 while (!Tasks.empty()) { in wait()
126 auto Task = std::move(Tasks.front()); in wait()
127 Tasks.pop(); in wait()
138 Tasks.push(std::move(PackagedTask)); in asyncImpl()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DTaskQueue.h75 assert(Tasks.empty()); in ~TaskQueue()
96 Tasks.push_back(std::move(T)); in async()
113 if (Tasks.empty()) { in completeTask()
118 Continuation = std::move(Tasks.front()); in completeTask()
119 Tasks.pop_front(); in completeTask()
135 std::deque<std::function<void()>> Tasks; variable
H A DThreadPool.h81 std::queue<PackagedTaskTy> Tasks; variable