[Lazarus] Multi-threading support in IDE

Jürgen Hestermann juergen.hestermann at gmx.de
Fri Aug 14 07:16:36 CEST 2009


> BTW, when the compiler has to read and write disk files, a separate 
> thread will not speed up much. Then the compiler thread will be idle 
> much time, waiting for disk I/O, and the main thread will be idle, 
> waiting for the compiler. IMO.

That's true. The general problem is not that the IDE is not responsive 
when compiling/linking but that compiling/linking takes so long. If it 
would be as fast as in Delphi noone would complain.

And having compiler and linker in separate (asynchronous) threads would 
be the same as starting them as a new process in asynchronous mode. It 
would open a can of worms because of synchronising problems.

I would not mind to wait until compiling has finished if it would only 
be faster.




More information about the Lazarus mailing list