affinity
affinity copied to clipboard
Set process and thread affinity in your Rust programs !
Of course, it's your call if this is useful enough or good enough to merge. My quick testing indicates this code and the example does work. So this code might...
This should be possible on MacOS, just need to implement & test
To support affinity on systems with > 64 logical processors, some alternative set of APIs are needed: https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
Hi, I'm developing a fuzzer to test the safe abstraction, and I found a index out of bounds panic in function `set_thread_affinity()`. Bellow is a test case: ```rust #[allow(warnings, unused,...