[Lazarus] Multi-threading support in IDE

Vincent Snijders vsnijders at vodafonevast.nl
Fri Aug 14 11:15:59 CEST 2009


Michael Van Canneyt schreef:
> 
> 
> On Fri, 14 Aug 2009, Vincent Snijders wrote:
> 
>> 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.
> 
> That's easy: it stops and restarts gdb. an external process.
> 
>> For the compiler, we would add a reset compiler option.
> 
> If the compiler is internal, what would 'reset compiler' do ?
> If the compiler people can't guarantee a proper reset, then
> neither can the IDE...
> 
> With the proposal of Florian, the 'reset compiler' is possible,
> just as with GDB...
> 

Sorry, I was reading it as part of an usage question about Florians proposal 
(external in memory compiler), not about an internal compiler.

Vincent




More information about the Lazarus mailing list