[fpc-pascal] Common OpenMP syntax?
JeLlyFish.software at gmx.net
Wed Jul 26 11:53:35 CEST 2006
On Wednesday 26 July 2006 09:46, Michael Van Canneyt wrote:
> It seems obvious to me that a global function can be called in
> parallel at any time. The compiler can perfectly detect whether a
> global function writes to variables outside it's own scope, in which
> case it's probably a no-no to paralellize the function.
Hey, you're trying to put more burden on the compiler here as the spec
even allows, I'd say.
Don't go on or you'll end up with the requirement for compile time
dead-lock detection. :)
More information about the fpc-pascal