[PATCH] D42573: [clangd] The new threading implementation

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 03:34:03 PST 2018


ilya-biryukov updated this revision to Diff 132967.
ilya-biryukov marked 21 inline comments as done.
ilya-biryukov added a comment.

- Renamed File to AST.
- Introduced startTask().
- Moved small methods of ASTWorkerHandle to have inline definitions.
- Removed constructor of FileData.
- Replaced find() with [].
- Removed RunSync, store optional<TasksRunner> instead.
- Added a test for AsyncTasksRunner.
- Documented approach for cancelling updates.
- Addressed other review comments.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D42573

Files:
  clangd/CMakeLists.txt
  clangd/ClangdServer.h
  clangd/ClangdUnit.h
  clangd/ClangdUnitStore.cpp
  clangd/ClangdUnitStore.h
  clangd/TUScheduler.cpp
  clangd/TUScheduler.h
  clangd/Threading.cpp
  clangd/Threading.h
  unittests/clangd/CMakeLists.txt
  unittests/clangd/ThreadingTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42573.132967.patch
Type: text/x-patch
Size: 34224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180206/4a94cd56/attachment-0001.bin>


More information about the cfe-commits mailing list