Function get_thread_scheduling_attributes
pub fn get_thread_scheduling_attributes() -> Result<SchedAttr, Error>Available on (Android or DragonFly BSD or FreeBSD or iOS or Linux or macOS or NetBSD or OpenBSD or VxWorks or WebAssembly) and (Android or Linux) only.
Expand description
Returns scheduling attributes for the current thread.