Subject | RE: [IBO] Big Batch... |
---|---|
Author | Paul Schmidt |
Post date | 2001-03-20T18:02:39Z |
Nick:
On 20 Mar 2001, at 8:53, Kaputnik wrote:
To: <IBObjects@yahoogroups.com>
From: "Kaputnik" <delphi@...>
Date sent: Tue, 20 Mar 2001 08:53:37 +0100
Send reply to: IBObjects@yahoogroups.com
Subject: RE: [IBO] Big Batch...
> Hi Paul,
>
> it is not that easy.
> Most, if not all OS'es do spread processes over several procesors, but
> not threads. Why not? Well, threads are part of a process, and can
> therefore use the same merory. If you have to threads working on one
> memory-part, the threads are serialized on one machine, so nothing can
> be broken. On a SMP-machine, two threads on two CPU's could access the
> same memory adress at the same time, doing terrible things. You CAN
> spread threads over several processors, but you have to explicitly
> allow the OS via special flags (other sort of thread in fact) that
> these threads are not only thread-save, but also SMP-save. So, no
> matter how many threads IB might spin off, the OS will HAVE to use
> only one processor for the complete app including its threads.
>
Okay so it's processes and not threads, it works out to the same kind
of thing, a machine with a proper task switcher/manager will not have
a problem.....
Paul
Paul Schmidt,
Tricat Technologies
Email: paul@...
Website: www.tricattechnologies.com