John Szakmeister added the comment: Ronald: it is mentioned in some books (a Google search can turn them up), but they don't really offer much description behind the intent. When I looked into this several years ago, it was very unclear what `hw.activecpu` was intended for. It sounded more like a report about how many processors are active, versus targetting your SMP aware application to that number.
But since you've turned some information in sysctl.h, I think we should follow that advice and use hw.activecpu. I've attached a new patch with the change. ---------- Added file: http://bugs.python.org/file29442/use-activecpu.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com