[Lazarus] thread safe

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 10 15:48:00 CEST 2011

On Fri, 10 Jun 2011 15:45:35 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 06/10/2011 03:32 PM, Mattias Gaertner wrote:
> >
> > If the definition says "it can be safely invoked by multiple threads at
> > the same time" then it means it can be invoked by any thread in any order at any time and the code still performs its task.
> But what is "it".
> The wiki says: "piece of code".


> With Objects this would need to be 
> "piece of code of a particular instance",


> as the same "piece of code" of 
> another instance c an behave totally different, as the states that are 
> stored in the instance can behave totally different.

Doesn't matter as long the code does its task.



More information about the Lazarus mailing list