nix::sys::prctl

Function set_timerslack

source
pub fn set_timerslack(ns: u64) -> Result<()>
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.