[Lazarus] thread safe

Michael Schnell mschnell at lumino.de
Mon Jun 27 14:57:07 CEST 2011


There is no question that we all agree about the technical background of 
all this.

The discussion I started was just about what (new) definitions makes 
sense to be provided in the docs to the user of an Object language to 
allow him to decide which object (e.g. TList vs. TThreadList) he needs 
to use where in his threaded application and what is allowed (e.g. 
accessing multiple TList instances from multiple threads with each 
thread only accessing one of them, or accessing any TThreadList instance 
from any thread) and what is  forbidden (e.g accessing a single TList 
instance from multiple threads or accessing a TForm instance from any 
thread but the MainThread.)

-Michael






More information about the Lazarus mailing list