pub fn thread_schedule_policy_param(
native: ThreadId,
) -> Result<(ThreadSchedulePolicy, ScheduleParams), Error>
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());