Searched refs:getpriority_process (Results 1 – 6 of 6) sorted by relevance
3 use rustix::process::{getpriority_process, setpriority_process};12 let get_prio = getpriority_process(None).unwrap(); in test_priorities()30 let get_prio = getpriority_process(None).unwrap(); in test_priorities()34 let now = getpriority_process(None).unwrap(); in test_priorities()42 let now = getpriority_process(None).unwrap(); in test_priorities()57 let start = getpriority_process(None).unwrap(); in test_priorities()61 let now = getpriority_process(None).unwrap(); in test_priorities()66 let now = getpriority_process(None).unwrap(); in test_priorities()71 let now = getpriority_process(None).unwrap(); in test_priorities()76 let now = getpriority_process(None).unwrap(); in test_priorities()[all …]
71 pub fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function72 backend::process::syscalls::getpriority_process(pid) in getpriority_process()
61 getpriority_pgrp, getpriority_process, getpriority_user, setpriority_pgrp, setpriority_process,
36 println!("Process priority: {}", getpriority_process(None)?); in main()
246 inc + getpriority_process(None)? in nice()283 pub(crate) fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function
260 pub(crate) fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function