Function thread_priority::unix::thread_schedule_policy_param [−][src]
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());