[Lazarus] thread safe

Michael Schnell mschnell at lumino.de
Fri Jun 10 13:52:35 CEST 2011


On 06/10/2011 01:26 PM, Henry Vermaak wrote:
> On 10/06/11 02:09, Hans-Peter Diettrich wrote:
>>
>> What is "thread safe"?
>
> The definition is very clear here:
>
> http://en.wikipedia.org/wiki/Thread_safety
>
clear does not imply useful :) .

With "piece of code" they obviously mean a single function (or part of 
it), with the implication that no other functions are called during this 
test by any of those threads.

E.g. Regarding Objects this is not enough.

-Michael




More information about the Lazarus mailing list