On 09/06/2010 09:09 PM, Hans-Peter Diettrich wrote:
When objects are used as containers for thread-local variables, these object references (to the thread-local objects) should be cached.
Yep. that is what I supposed you would do to eliminate threadvar access: the threads work on their own instances of the object that hold the values that formerly were global variables.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to