[Lazarus] Multi-threading support in IDE
Mattias Gärtner
nc-gaertnma at netcologne.de
Fri Aug 14 11:28:56 CEST 2009
Zitat von Martin <lazarus at mfriebe.de>:
> Graeme Geldenhuys wrote:
>> Jürgen Hestermann wrote:
>>>
>>> That's true. The general problem is not that the IDE is not
>>> responsive when compiling/linking but that compiling/linking takes so
>>> long.
>>
>> FPC is a fast compiler and more speed is obviously also nice. The
>> compiling is not the issue to me, it's the unresponsive IDE that
>> gets me. I would like it to be similir to other users experiences.
>> For example, you can print a large document and continue browsing
>> your text or changing some setting in the menus etc... It doesn't
>> block you from continuing. The Lazarus IDE does.
>>
>> I compile very often - probably once every minute or two. I also
>> practise Test-Drive Development, which makes sure you compile
>> often. I would like to start a full build (which could take a while
>> for large projects) and continue writing fpdoc documentation or
>> start a new unit test (obviously without saving before the compile
>> is complete) etc...
> Try
>
> ide\outputfilter.pas around line 295
>
> if (Application<>nil) and (abs(LastProcessMessages-Now)>((1/86400)/3))
>
> make it
> if (Application<>nil) and (abs(LastProcessMessages-Now)>((1/86400)/10))
> and maybe add an "application.idle(flase);" too
Added by default.
This only have an effect on windows, where TAsyncProcess is used.
Mattias
More information about the Lazarus
mailing list