This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.
Closed by commit rCTE347655: [clangd] Prevent thread starvation in tests on
loaded systems. (authored by sammccall, committed by ).
Changed prior to commit:
https://reviews.llvm
kadircet accepted this revision.
kadircet added inline comments.
This revision is now accepted and ready to land.
Comment at: clangd/tool/ClangdMain.cpp:356
+ if (Test)
+preventThreadStarvationInTests();
std::unique_ptr StaticIdx;
Can we move this to the
sammccall created this revision.
sammccall added a reviewer: kadircet.
Herald added subscribers: cfe-commits, jfb, arphaman, jkorous, MaskRay, ioeric,
ilya-biryukov.
Background index deliberately runs low-priority, but for tests this may stop
them making progress.
Repository:
rCTE Clang Tools