These self-contained code samples show you how to correctly detect physical and logical processor core counts.
- Windows XP
- Windows 7
- Windows 10
If you spot a bug, or would like to see the samples evolve in a particular way, file an issue and we'll take a look!