<div dir="ltr">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).<br>I'm not sure about MacOSX<br><br>Ido<br><br clear="all"><div dir="ltr">LINESIP - Opening the source for communication<br>
<a href="http://www.linesip.com" target="_blank">http://www.linesip.com</a><br><a href="http://www.linesip.co.il" target="_blank">http://www.linesip.co.il</a><br><br></div><br>
<br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 23:27, Kjow <span dir="ltr"><<a href="mailto:antispammoni@gmail.com">antispammoni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all!<br>
<br>
Is it possible to determine the number of CPU threads available on an<br>
OS (Win, Linux, OSX: so cross platform way) with Lazarus/FPC? (e.g. A<br>
dual core = 2 threads, a Core i7 = 8 threads, etc)<br>
<br>
Thanks!<br>
Kjow<br>
<font color="#888888"><br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</font></blockquote></div><br></div>