Wrap platform-specific QoS in r-a-specific “thread intent”
This commit is contained in:
parent
d0b001eed2
commit
74bc2a47e0
13 changed files with 354 additions and 295 deletions
|
|
@ -165,7 +165,7 @@ impl Server {
|
|||
fn new(dir: TestDir, config: Config) -> Server {
|
||||
let (connection, client) = Connection::memory();
|
||||
|
||||
let _thread = stdx::thread::Builder::new(stdx::thread::QoSClass::Utility)
|
||||
let _thread = stdx::thread::Builder::new(stdx::thread::ThreadIntent::Worker)
|
||||
.name("test server".to_string())
|
||||
.spawn(move || main_loop(config, connection).unwrap())
|
||||
.expect("failed to spawn a thread");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue