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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to