[mlir-lsp-server] Disable multi-threading in LSP contexts
authorRiver Riddle <riddleriver@gmail.com>
Tue, 3 Aug 2021 21:29:51 +0000 (21:29 +0000)
committerRiver Riddle <riddleriver@gmail.com>
Tue, 3 Aug 2021 21:30:09 +0000 (21:30 +0000)
commitb31827f6641178905a866682c0d868b1ca436a5e
tree2ba1e5aa52455a0cf088abf6ba025a094f85c952
parent817303ef345f35bd693d71f87c4dd95a11c341c4
[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.
mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp