[lld] [llvm] [lld][MachO] Follow-up to use madvise() for threaded file page-in. (PR #157917)

John Holdsworth via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 10:14:57 PDT 2025


================
@@ -292,12 +297,13 @@ struct DeferredFile {
 using DeferredFiles = std::vector<DeferredFile>;
 
 #if LLVM_ENABLE_THREADS
-class SerialBackgroundQueue {
+class SerialBackgroundWorkQueue {
   std::deque<std::function<void()>> queue;
   std::thread *running;
   std::mutex mutex;
 
 public:
+  bool stopAllWork = false;
----------------
johnno1962 wrote:

OK, I've committed what I could of these changes.

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


More information about the llvm-commits mailing list