Function thread_priority::unix::thread_schedule_policy[][src]

pub fn thread_schedule_policy() -> Result<ThreadSchedulePolicy, Error>
Expand description

Returns policy parameters (schedule policy and other schedule parameters) for current process

Usage

use thread_priority::*;

assert!(thread_schedule_policy().is_ok());