[Lazarus] thread safe

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 10 18:09:54 CEST 2011


On Fri, 10 Jun 2011 17:58:44 +0200
Michael Schnell <mschnell at lumino.de> wrote:

> On 06/10/2011 04:59 PM, Mattias Gaertner wrote:
> >
> > Please read a book about parallel programming.
> Not necessary. I don't argue about the technical implications of thread 
> programming and code sequences.
> 
> This is just a matter of wording. I do believe that we both know about 
> the technology in question. So lets just invent another term instead of 
> "thread safe" that can be defined in a way that it does make sense with 
> Objects. :)

Sigh. It already does. See my TThreadList.Add example.

If you need a term for a method with less thread safety you might
look for reentrant or thread local.


Mattias




More information about the Lazarus mailing list