Lines Matching refs:nice
1 use rustix::process::nice;
5 #[cfg(not(target_os = "freebsd"))] // FreeBSD's nice(3) doesn't return the old value.
8 let old = nice(0).unwrap();
17 let new = nice(1).unwrap();
25 let get = nice(0).unwrap();
45 // Darwin appears to return `EPERM` on an out of range `nice`.
46 if let Ok(again) = nice(1) {
52 /// FreeBSD's `nice` doesn't return the new nice value, so use a specialized
59 let _ = nice(0).unwrap();
64 let _ = nice(1).unwrap();
79 let _ = nice(1).unwrap();