[MERGE] FreeBSD concurrency detection
Matthew D. Fuller
fullermd at over-yonder.net
Fri Jun 5 13:14:31 BST 2009
On Fri, Jun 05, 2009 at 01:13:18PM +0200 I heard the voice of
Vincent Ladeuil, and lo! it spake thus:
>
> So the question is: Matthew, what is your hardware, is the above
> taken into account ?
hw.ncpu is the number of available cores, yes.
> You should know better than me here if
> sys.platform.startswith('freebsd') is a valid alternative.
I imagine it would be, if it makes a difference. They're all
"freebsd\d".
> Also, could that be applied to openbsd ? Netbsd ? mymombsd ?
I don't know if the sysctl name is the same on them or not
--
Matthew Fuller (MF4839) | fullermd at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the bazaar
mailing list