nix::sys::prctl

Function set_timerslack

Source
pub fn set_timerslack(ns: u64) -> Result<()>
Available on crate feature process only.
Expand description

Sets the timer slack value for the calling thread. Timer slack is used by the kernel to group timer expirations and make them the supplied amount of nanoseconds late.