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. :)


Vinzent.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to