[fpc-devel] Parallel processing in the compiler

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Sep 5 03:52:53 CEST 2010

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.


More information about the fpc-devel mailing list