[fpc-devel] Parallel processing in the compiler

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Sep 4 19:41:14 CEST 2010

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. Now ppudump turned into an show stopper, due to the 
unsystematic and obscure unit dependencies in the compiler:

Hans-Peter Diettrich schrieb:
> Jonas Maebe schrieb:
>> ppudump probably does not depend on cpubase in trunk. cpubase is part
>> of the code generator, and therefore the ppu loading should in fact
>> not depend on it (directly nor indirectly).
> Apart from that (minor) issue, can you review my work? It would be 
> helpful to learn what's considered okay and what not.

In the meantime I've implemented another version, that does not have the 
above problem - but further development is impossible because the 
problem reappears with every of the remaining global variables. 
Therefore I'm stopping any further development now, until somebody can 
provide a solution or workaround for this problem.


More information about the fpc-devel mailing list