[Lazarus] Number of CPU threads

ik idokan at gmail.com
Thu Feb 24 22:35:12 CET 2011


On linux you can read the /proc/cpuinfo file. In Windows you have some API
commands for that (I do not know what they are).
I'm not sure about MacOSX

Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il




On Thu, Feb 24, 2011 at 23:27, Kjow <antispammoni at gmail.com> wrote:

> Hi all!
>
> Is it possible to determine the number of CPU threads available on an
> OS (Win, Linux, OSX: so cross platform way) with Lazarus/FPC? (e.g. A
> dual core = 2 threads, a Core i7 = 8 threads, etc)
>
> Thanks!
> Kjow
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110224/98d959a7/attachment-0003.html>


More information about the Lazarus mailing list