On 08/11/2010 03:33 PM, Florian Klaempfl wrote:
I don't think that threadvars really hurt if it resolves the cyclic
dependencies.
(Many) Threadvars are no performance problem at all unless they are
_evaluated_ very often. If (e.g.) the "execute" of the thread creates a
class, saves the instance pointer in a threadvar and then calls a
function with the class as a parameter, and finally does a free, the
threadvar is only evaluated twice, so no problem at all.
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel