On Thu, 24 Feb 2011 22:27:31 +0100 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) See the package mtprocs unit mtpcpu for a simple heuristic: http://wiki.lazarus.freepascal.org/Parallel_procedures#Getting_MTProcs Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
