Skip to main content

get_thread_scheduling_attributes

Function get_thread_scheduling_attributes 

pub fn get_thread_scheduling_attributes() -> Result<SchedAttr, Error>
Available on crate feature tasks and (Linux or Android) only.
Expand description

Returns scheduling attributes for the current thread.