[fpc-devel] Parallel Computing

Florian Klaempfl florian at freepascal.org
Tue Nov 4 09:46:11 CET 2008


Michael Schnell schrieb:
> 
>> You still didn't show any example which shows the real power of parallel
>> which cannot be solved by a T(Pooled)Thread.Create and
>> T(Pooled)Thread.WaitFor statements.
>>   
> As I said several times, I don't suggest that any other implementation
> (be it OpenMP or whatever) would provide better results than you can
> achieve with using what we already have (TThread and friends).
> 
> But using TThread  - especially for this kind of "technical improvement"
> stuff - is beyond the scope of the average application programmer and
> now Oxygen/Prism with the "parallel" (and other) keywords and GCC with
> the "#pragma ocm_..." are here to help the common application programmer
> with that. This might - or might not - be considered a challenge.

People not being able to use TThread properly should avoid MT
programming. I don't think OpenMP prevents you from creating race
condititions in parallel for loops.



More information about the fpc-devel mailing list