[PATCH] D42573: [wip] The new threading implementation
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 31 00:32:10 PST 2018
ilya-biryukov updated this revision to Diff 132105.
ilya-biryukov added a comment.
- An initial version of thread-per-file approach.
This is by no means a final version, we should definitely move things between files, do some renames, etc. before landing the final version.
Some things are not used anymore (e.g. ThreadPool), but are still in the patch, we'll need to remove them too.
The new version does not drop updates that are immidieately followed by other updates, this seems like an oversight and should be fixed too.
Please take a look at the overall design and let me know what you think. Feel free to add suggestions on how we can improve things, too!
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42573
Files:
clangd/CMakeLists.txt
clangd/ClangdServer.h
clangd/ClangdUnitStore.cpp
clangd/ClangdUnitStore.h
clangd/TUScheduler.cpp
clangd/TUScheduler.h
clangd/Threading.cpp
clangd/Threading.h
clangd/threading/Cancellation.cpp
clangd/threading/Cancellation.h
clangd/threading/RequestQueue.cpp
clangd/threading/RequestQueue.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42573.132105.patch
Type: text/x-patch
Size: 32352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180131/7c7cfbbc/attachment-0001.bin>
More information about the cfe-commits
mailing list