[][src]Function libpulse_binding::util::make_thread_realtime

pub fn make_thread_realtime(rtprio: i32) -> Result<(), ()>

Makes the calling thread realtime if we can.

On Linux, this uses RealTimeKit if available and POSIX APIs otherwise (the latter applies to other UNIX variants as well). This is also implemented for macOS and Windows.

Available since PA version 13.