In our previous episode, Sven Barth said: > > Considering that the implementation is currently "Result := 1" for any > > target that is no surprise ;) > > I've now implemented GetCPUCount for all Windows targets.
.. updating... > For the BSD's > I'd use sysctl, which would mean that I'd need to duplicate sysctl() Why not simply use fpsysctl in unit sysctl? > and the necessary constants/types... Yes. The FreeBSD ones are probably 5.x. Bonus points if you can haul those constants through h2pas! _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal