[all-commits] [llvm/llvm-project] b31827: [mlir-lsp-server] Disable multi-threading in LSP c...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Aug 3 14:35:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b31827f6641178905a866682c0d868b1ca436a5e
      https://github.com/llvm/llvm-project/commit/b31827f6641178905a866682c0d868b1ca436a5e
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp

  Log Message:
  -----------
  [mlir-lsp-server] Disable multi-threading in LSP contexts

This prevents an explosion of threads, given that each file gets its own context and thus its own thread pool. We don't really need a thread pool for the LSP contexts anyways, so it's better to just disable threading.




More information about the All-commits mailing list