CPU affinity for processes and threads across many platforms and Operating Systems, including:-
Provides logic for finding out the valid set of logical cores (hyper threads) for a process, managing per-logical-core data sets, and more.
The license for this project is MIT.