[Lazarus] Threads in Lazarus code base
Luiz Americo Pereira Camara
luizmed at oi.com.br
Wed Sep 15 21:29:18 CEST 2010
Mattias Gaertner escreveu:
> On Wed, 15 Sep 2010 11:49:42 -0300
> Luiz Americo Pereira Camara <luizmed at oi.com.br> wrote:
>
>
>> Mattias Gaertner escreveu:
>>
>>> *many IDE parts will become slower (once you start a thread the RTL
>>> uses critical sections and especially string handling become much
>>> slower).
>>>
>> If i understand correctly all program will suffer the performance hit,
>> not only the "threaded" part, right?
>>
>
> Correct. As long as another thread runs. When the thread stops all
> returns to "normal".
>
>
Thanks.
Good to know that when the thread stop the performance penalty "stops"
This makes me keep with the original plan
[..]
>> I'm asking this because i'm planning to make a client of a REST service
>> through http and i choose Synapse to do the communication.
>>
>> Since Synapse recommends to use thread to avoid GUI freeze, i planned to
>> use a thread for getting the data.
>>
>
> In this case you have not much choice.
>
>
I could use lnet.
But i think that this is not the case given the above
Luiz
More information about the Lazarus
mailing list