Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-07 Thread Luca Olivetti
En/na Michael Van Canneyt ha escrit: Second, If a thread wants to interact with the main thread, it calls 'Synchronize'. The main thread calls checksynchronize at regular intervals. This is transparant for you. Back in august for this to work the lcl had to be compiled with the

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-07 Thread Micha Nelissen
Horacio Jamilis wrote: I wrote on the lazarus wiki about multithreaded applications at: http://wiki.lazarus.freepascal.org/index.php/Multithreaded_Application_Tutorial Feel free to add more info to it. Thanks. I corrected some of the grammar and spelling. Micha

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-07 Thread Vincent Snijders
Luca Olivetti wrote: En/na Michael Van Canneyt ha escrit: Second, If a thread wants to interact with the main thread, it calls 'Synchronize'. The main thread calls checksynchronize at regular intervals. This is transparant for you. Back in august for this to work the lcl had to be compiled

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-07 Thread Micha Nelissen
Luca Olivetti wrote: Back in august for this to work the lcl had to be compiled with the -dUSE_SYNCHRONIZE option (which wasn't the default). (the relevant message from Micha is missing both at gmane and lazarus.freepascal.org). Is this the default now? That requirement was removed last

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-06 Thread Tony Pelton
On 11/5/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: 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

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-06 Thread Michael Van Canneyt
On Sun, 6 Nov 2005, Tony Pelton wrote: On 11/5/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: 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

[lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-05 Thread Horacio Jamilis
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

Re: [lazarus] Multithreading in Lazarus = SMP Enabled applications?

2005-11-05 Thread Michael Van Canneyt
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