Message184459
I'm not sure if hw.availcpu is the right value to use as it is not documented at all (neither in a manpage, nor in a headerfile).
hw.activecpu seems to be the one that should be used: it is documented as "The number of processors currently available for executing threads." in the sysctl.h header file and that comment also mentions that it should be used to determine the amount of threads to start in an SMP application. |
|
Date |
User |
Action |
Args |
2013-03-18 15:18:35 | ronaldoussoren | set | recipients:
+ ronaldoussoren, jszakmeister, ned.deily, sbt |
2013-03-18 15:18:35 | ronaldoussoren | set | messageid: <1363619915.32.0.63136460173.issue17444@psf.upfronthosting.co.za> |
2013-03-18 15:18:35 | ronaldoussoren | link | issue17444 messages |
2013-03-18 15:18:35 | ronaldoussoren | create | |
|