On Sat, 5 Nov 2005, Horacio Jamilis wrote:

> Hi,
> 
> I was trying to look for information about how to enable a linux server 
> application to work with any procesor available on the system, being, this 
> way, SMP enabled.
> 
> Someplace I readed that working in Delphi with the TThread class (this is the 
> way I work), the applications will be SMP automagically on Windows.
> 
> Is this true?

Yes.

> 
> Happens the same with FPC/Lazarus?
> On windows?
> On linux?

Yes. 

On linux, be sure to include the 'cthreads' as the first unit in your program's 
uses clause
if you want to use threads. This will install the C thread manager.

Note that X is NOT multithreaded, so you must synchronize all output with the 
main thread.


Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to