[Lldb-commits] [lldb] [llvm] [mlir] Split the llvm::ThreadPool into an abstract base class and an implementation (PR #82094)

Mehdi Amini via lldb-commits lldb-commits at lists.llvm.org
Sat Mar 2 14:27:31 PST 2024


================
@@ -140,54 +142,74 @@ class ThreadPool {
             },
             std::move(F)};
   }
+};
+
+/// A ThreadPool implementation using std::threads.
+///
+/// The pool keeps a vector of threads alive, waiting on a condition variable
+/// for some work to become available.
+class StdThreadPool : public ThreadPoolInterface {
----------------
joker-eph wrote:

Obsolete now that we test both I think, resolving.

https://github.com/llvm/llvm-project/pull/82094


More information about the lldb-commits mailing list