This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients jszakmeister, ned.deily, ronaldoussoren, sbt
Date 2013-03-18.15:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363619915.32.0.63136460173.issue17444@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-03-18 15:18:35ronaldoussorensetrecipients: + ronaldoussoren, jszakmeister, ned.deily, sbt
2013-03-18 15:18:35ronaldoussorensetmessageid: <1363619915.32.0.63136460173.issue17444@psf.upfronthosting.co.za>
2013-03-18 15:18:35ronaldoussorenlinkissue17444 messages
2013-03-18 15:18:35ronaldoussorencreate