Refactored getting cores count to work cross platform.
I don't think it is possible to just do a single platform agnostic method call in python to get the cores count, so this is what I ended up with.
Edited by Coop
I don't think it is possible to just do a single platform agnostic method call in python to get the cores count, so this is what I ended up with.