ilya-biryukov added inline comments.
================ Comment at: clangd/TUScheduler.h:23 +/// synchronously). +unsigned getDefaultAsyncThreadsCount(); + ---------------- sammccall wrote: > just use llvm::hardware_concurrency()? It can return 0, which will cause clangd to run synchronously. This function is only called when someone wants to have at least one worker thread for async processing. We can change it if you want, but I'd rather leave it as is in this patch. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D42174 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits