@@ -77,7 +77,7 @@ impl fmt::Display for FlycheckConfig {
77
77
pub struct FlycheckHandle {
78
78
// XXX: drop order is significant
79
79
sender : Sender < StateChange > ,
80
- _thread : jod_thread :: JoinHandle ,
80
+ _thread : stdx :: thread :: JoinHandle ,
81
81
id : usize ,
82
82
}
83
83
@@ -90,7 +90,7 @@ impl FlycheckHandle {
90
90
) -> FlycheckHandle {
91
91
let actor = FlycheckActor :: new ( id, sender, config, workspace_root) ;
92
92
let ( sender, receiver) = unbounded :: < StateChange > ( ) ;
93
- let thread = jod_thread :: Builder :: new ( )
93
+ let thread = stdx :: thread :: Builder :: new ( stdx :: thread :: QoSClass :: Utility )
94
94
. name ( "Flycheck" . to_owned ( ) )
95
95
. spawn ( move || actor. run ( receiver) )
96
96
. expect ( "failed to spawn thread" ) ;
@@ -395,7 +395,7 @@ struct CargoHandle {
395
395
/// The handle to the actual cargo process. As we cannot cancel directly from with
396
396
/// a read syscall dropping and therefore terminating the process is our best option.
397
397
child : JodGroupChild ,
398
- thread : jod_thread :: JoinHandle < io:: Result < ( bool , String ) > > ,
398
+ thread : stdx :: thread :: JoinHandle < io:: Result < ( bool , String ) > > ,
399
399
receiver : Receiver < CargoMessage > ,
400
400
}
401
401
@@ -409,7 +409,7 @@ impl CargoHandle {
409
409
410
410
let ( sender, receiver) = unbounded ( ) ;
411
411
let actor = CargoActor :: new ( sender, stdout, stderr) ;
412
- let thread = jod_thread :: Builder :: new ( )
412
+ let thread = stdx :: thread :: Builder :: new ( stdx :: thread :: QoSClass :: Utility )
413
413
. name ( "CargoHandle" . to_owned ( ) )
414
414
. spawn ( move || actor. run ( ) )
415
415
. expect ( "failed to spawn thread" ) ;
0 commit comments