[Lazarus] IUnknown and reference counting
Joao Morais
jcmoraisjr at gmail.com
Thu Mar 21 21:21:23 CET 2013
2013/3/21 Sven Barth <pascaldragon at googlemail.com>:
> On 21.03.2013 21:15, Joao Morais wrote:
>>
>> 2013/3/21 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
>>>
>>> The same considerations apply to the use of object and interface
>>> references
>>> in threads. Interface methods are implemented by class methods, and
>>> consequently must not be called from multiple threads at the same time.
>>
>>
>> What's the problem calling the same method, even on the same object,
>> at the same time from more than one thread?
>
>
> It depends on what the method does.
That's exactly my point. The problem isn't the method call.
Joao Morais
More information about the Lazarus
mailing list