I would like to know how many processors are on the system, because i
would like to use them paralell for a single task.
The job could be done using 2, 4, etc threads simultaniously, to speed
it up with usage of all processors at the same time.
To split up the task I have to know how many cpus are available for
usage.
Is there a way to figure this out ?
greetings
tanila
Am Freitag, den 02.03.2007, 11:20 +0200 schrieb Graeme Geldenhuys:
> On 3/2/07, tanila <[EMAIL PROTECTED]> wrote:
>
> > I would like to make experiences with multithreadded application and how
> > to get benefits with more than one cpu.
>
> All you should need to do is create multiple threads in your system
> and the OS and CPU(s) will handle the rest. No need to do something
> special in you application.
>
> > Another question:
> > Are this magic doual/quad-core cups real multiprocessor-systems like a
> > mainboard with two or more processors ?
>
> Yes they are like the old style mainboards with two or more physical
> processors on the motherboard. HyperThreading on the other hand is a
> Intel sales gimic which fakes a second processor (software processor).
>
>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives