pub fn get_thread_scheduling_attributes() -> Result<SchedAttr, Error>
Returns scheduling attributes for the current thread.