[−][src]Function thread_priority::thread_schedule_policy_param
pub fn thread_schedule_policy_param(
native: pthread_t
) -> Result<(ThreadSchedulePolicy, ScheduleParams), Error>
Returns policy parameters (schedule policy and other schedule parameters)
Usage
extern crate thread_priority; use thread_priority::*; fn main() { let thread_id = thread_native_id(); assert!(thread_schedule_policy_param(thread_id).is_ok()); }