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.