Function solana_perf::thread::renice_this_thread
source · pub fn renice_this_thread(adjustment: i8) -> Result<(), String>
Expand description
Adds adjustment
to the nice value of calling thread. Negative adjustment
increases priority,
positive adjustment
decreases priority. New thread inherits nice value from current thread
when created.
Fails on non-Linux systems for all adjustment
values except of zero.