demote_thread_from_real_time

Function demote_thread_from_real_time 

Source
pub fn demote_thread_from_real_time(
    thread_info: RtPriorityThreadInfo,
) -> Result<(), AudioThreadPriorityError>
Expand description

Demotes a thread from real-time priority.

§Arguments

  • thread_info - An opaque struct returned from a successful call to get_current_thread_info.

§Return value

Ok in case of success, Err otherwise.