[Lazarus] thread safe

Michael Schnell mschnell at lumino.de
Mon Jun 27 15:54:31 CEST 2011


On 06/27/2011 03:34 PM, Mattias Gaertner wrote:
>
>
> The documentation can simply say about TList:
> Thread safe: no
> Used non thread safe global variables: none
Poor user !!!!!
If he just reads Thread safe: no, he supposedly will believe he needs to 
use TThreadList in all threads and do very inefficient code.
How is he supposed to know that accessing a TList instance with just a 
single thread while accessing another instance only with another thread 
is safe ?

A new term (decently explained on a central location) that can be used 
in a Feature grid would be much more readable.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110627/a44ea461/attachment-0003.html>


More information about the Lazarus mailing list