[Lazarus] IUnknown and reference counting
Michael Schnell
mschnell at lumino.de
Mon Mar 25 10:20:22 CET 2013
On 03/21/2013 06:39 PM, Hans-Peter Diettrich wrote:
>
> 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.
As discussed already multiple times it's too simplified to try to define
an object as thread safe or not. The definition of thread safe needs to
be much more sophisticated (regarding each method/property, regarding
the access to the same or multiple instances of the object).
-Michael
More information about the Lazarus
mailing list