[PATCH] D55315: [clangd] Only reduce priority of a thread for indexing.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 7 05:24:08 PST 2018


kadircet updated this revision to Diff 177188.
kadircet marked 3 inline comments as done.
kadircet added a comment.

- Move priority change logic to runner
- Change storage for tasks from deque to list, since we only pop from front but we might end up adding into middle.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55315/new/

https://reviews.llvm.org/D55315

Files:
  clangd/Threading.cpp
  clangd/Threading.h
  clangd/index/Background.cpp
  clangd/index/Background.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55315.177188.patch
Type: text/x-patch
Size: 8793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181207/10f59d59/attachment-0001.bin>


More information about the cfe-commits mailing list