[PATCH] D54938: [clangd] Prevent thread starvation in tests on loaded systems.

2018-11-27 Thread Sam McCall via Phabricator via cfe-commits
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

[PATCH] D54938: [clangd] Prevent thread starvation in tests on loaded systems.

2018-11-27 Thread Kadir Cetinkaya via Phabricator via cfe-commits
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

[PATCH] D54938: [clangd] Prevent thread starvation in tests on loaded systems.

2018-11-27 Thread Sam McCall via Phabricator via cfe-commits
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