[Lazarus] Multi-threading support in IDE
Mattias Gärtner
nc-gaertnma at netcologne.de
Fri Aug 14 14:28:41 CEST 2009
Zitat von Graeme Geldenhuys <graemeg at opensoft.homeip.net>:
> Martin Schreiber wrote:
>>> From the MSEide config dialog, I gather MSEide also launches the
>>> FPC compiler in a separate process and not built into the MSEide?
>>>
>> Yes. It can also call gcc and parse the error messages. Also possible
>
> So how did you resolve the async process issue that Lazarus is
> experiencing under Linux? Or does running the compiler process
> (TProcess style) via a separate thread bypass the issue of
> TAsyncProcess that Lazarus IDE is using. That means MSEide doesn't
> need a TAsyncProcess type component?
>
> If so... Mattias, could Lazarus IDE be modified to run the compiler
> TProcess in a separate thread. And then another thread which filters
> the compiler output to the Messages window. Or is that a huge task?
No. Just write a ThreadedProcess. That would work pretty much like
TAsynProcess.
And I guess it will suffer the same bug.
Mattias
More information about the Lazarus
mailing list