[PATCH] D123225: [ThreadPool] add ability to group tasks into separate groups

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 10:09:29 PDT 2022


clayborg added inline comments.


================
Comment at: llvm/include/llvm/Support/ThreadPool.h:108
 private:
+  typedef std::deque<std::pair<std::function<void()>, TaskGroup *>> TaskQueue;
+
----------------
clayborg wrote:
> mehdi_amini wrote:
> > Why the change to `deque` in this patch?
> This is the new code that is adding the ability to run work in the groups
Ignore my comment, I see that this type was used below where a queue was being used,.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123225/new/

https://reviews.llvm.org/D123225



More information about the llvm-commits mailing list