affinity
pub fn get_thread_affinity() -> Result<Vec<usize>, Box<dyn Error>>
Returns a list of cores that the current thread is bound to