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

pub fn make_thread_realtime(rtprio: i32) -> Result<(), ()>
This is supported on crate feature pa_v13 only.

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.