Function libpulse_binding::util::make_thread_realtime
source · pub fn make_thread_realtime(rtprio: i32) -> Result<(), ()>
Available on crate feature
pa_v13
only.Expand description
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.