kadircet marked an inline comment as done. kadircet added inline comments.
================ Comment at: clangd/index/Background.h:121 bool ShouldStop = false; - std::deque<Task> Queue; + std::list<std::pair<Task, ThreadPriority>> Tasks; std::vector<std::thread> ThreadPool; // FIXME: Abstract this away. ---------------- ilya-biryukov wrote: > Why not `std::deque`? because we can insert in the middle of the queue now, when we skip existing high priority tasks. Repository: rCTE Clang Tools Extra CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55315/new/ https://reviews.llvm.org/D55315 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits