Function thread_schedule_policy_param
pub fn thread_schedule_policy_param(
native: u64,
) -> Result<(ThreadSchedulePolicy, ScheduleParams), Error>Available on Android or DragonFly BSD or FreeBSD or iOS or Linux or macOS or NetBSD or OpenBSD or VxWorks or WebAssembly only.
Expand description
Returns policy parameters (schedule policy and other schedule parameters)
ยงUsage
use thread_priority::*;
let thread_id = thread_native_id();
assert!(thread_schedule_policy_param(thread_id).is_ok());