Florian Klämpfl schrieb:
Every parallel processing requires that all related data is private to
every thread. Since some time I'm trying to eliminate such (currently)
global variables.
What's the problem with using threadvars (I did not look at your code
yet, I were on holiday)? As I said in another thread: it is not needed
to squeeze anything into OOP, sometimes other solutions are better like
threadvars (or "ifdefs" ;)).
Then the problem is to tell which variables can stay *ordinary* variables.
DoDi
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel