[fpc-devel] Parallel processing in the compiler
    Florian Klämpfl 
    florian at freepascal.org
       
    Sat Sep  4 18:44:32 CEST 2010
    
    
  
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" ;)).
    
    
More information about the fpc-devel
mailing list