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 <[email protected]> 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
