I want my software to create one thread per core, obviously different Macs have a different number of cores.
Does anyone know how to (programmatically, via Cocoa) determine the number of cores?
[[NSProcessInfo processInfo] processorCount]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With