[Lazarus] Multi-threading support in IDE

Mattias Gärtner nc-gaertnma at netcologne.de
Fri Aug 14 11:32:37 CEST 2009


Zitat von Vincent Snijders <vsnijders at vodafonevast.nl>:

> Mattias Gärtner schreef:
>> Zitat von Graeme Geldenhuys <graemeg at opensoft.homeip.net>:
>>
>>> Mattias Gaertner wrote:
>>>>
>>>> -compiler crashes do not effect the IDE
>>>
>>> I like Florian's idea too. As for your statement above, how often  
>>> does this really happen? In the last 4-5 years that I have been  
>>> using FPC, the compiler has not once "crashed" on me. Yes it might  
>>> report that there is a compiler error in my project, but I do not  
>>> consider that a crash.
>>
>> The compiler is started on every compile which is the cleanest  
>> start you can get. A threaded compiler must have a restart, which  
>> is less clean. There will be more crashes and bugs.
>> What happens if the restart fails?
>
> For the debugger, we have reset debugger.
> For the compiler, we would add a reset compiler option.

I meant, when the compiler is in another thread and the restart fails,  
what should happen? You can only restart the IDE.

Mattias





More information about the Lazarus mailing list