[Lazarus] thread safe
Martin
lazarus at mfriebe.de
Mon Jun 27 15:07:50 CEST 2011
On 27/06/2011 13:57, Michael Schnell wrote:
> 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.)
Well, that is something, I can agree with.
*IF* a definition is supplied (with FPC/Lazarus), and in the light that
the users come with all levels of experience, then it would be nice, if
(in addition) an explanation would be given, rather than just a short
abstract form.
In this case your wording may be misleading " just about what (new)
definitions ". There would be no new definition, only an explanation, of
the existing definition.
More information about the Lazarus
mailing list