Hi,
I've tried the library successfully on Linux but on my development machine running macOS Monterey (version 12.6.3) it doesn't work with version 0.8.0 or 0.8.1 of this crate.
The Vec of available cores returned by core_affinity::get_core_ids() does contain the core I'm trying to pin to but the boolreturned from core_affinity::set_for_current(core_id) is false.
Are there any tricks I need to apply on Mac?
Kind regards,
Nicholas
Hi,
I've tried the library successfully on Linux but on my development machine running macOS Monterey (version 12.6.3) it doesn't work with version 0.8.0 or 0.8.1 of this crate.
The
Vecof available cores returned bycore_affinity::get_core_ids()does contain the core I'm trying to pin to but theboolreturned fromcore_affinity::set_for_current(core_id)is false.Are there any tricks I need to apply on Mac?
Kind regards,
Nicholas