How to detect number of cores ?
Posted: Thu Jun 10, 2010 4:53 pm
Hi all,
Does anybody know a method to determine number of cores ? I would like, in my program, to run as many threads as cores in the machine.
Thanks in advance.
Does anybody know a method to determine number of cores ? I would like, in my program, to run as many threads as cores in the machine.
Thanks in advance.