[Lazarus] thread safe

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Jun 11 01:28:37 CEST 2011


Mattias Gaertner schrieb:

>>> A piece of code is "thread safe" if it can be safely invoked by
>>> multiple threads at the same time.
>> As already explained, I'm not comfortable with that definition.
> 
> Welcome to earth. How do you define it on your planet?

My planet government decided to use objects, in addition to "pieces of 
code", decades ago :-]

>> Which aspect would cover access to shared objects by different "pieces 
>> of code"?
> 
> What did you not understand on the link I gave?

How objects fit into that non-OO definition.

DoDi





More information about the Lazarus mailing list