rust/crates/rust-analyzer
bors 526507fe22 Auto merge of #14888 - lunacookies:multi-qos, r=Veykril
Prioritize threads affected by user typing

To this end I’ve introduced a new custom thread pool type which can spawn threads using each QoS class. This way we can run latency-sensitive requests under one QoS class and everything else under another QoS class. The implementation is very similar to that of the `threadpool` crate (which is currently used by rust-analyzer) but with unused functionality stripped out.

I’ll have to rebase on master once #14859 is merged but I think everything else is alright :D
2023-05-31 10:23:19 +00:00
..
src Auto merge of #14888 - lunacookies:multi-qos, r=Veykril 2023-05-31 10:23:19 +00:00
tests/slow-tests Wrap platform-specific QoS in r-a-specific “thread intent” 2023-05-28 20:37:38 +10:00
build.rs Fix typo in build.rs 2022-06-26 10:09:45 +00:00
Cargo.toml Implement custom QoS-aware thread pool 2023-05-28 20:37:35 +10:00