Am 04.09.2010 19:41, schrieb Hans-Peter Diettrich: > 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" ;)). _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel