On 06/28/2011 12:31 AM, Andrew Brunner wrote:

2.) Execution Order.
As a critical section is a function call, it prevents instructions are re-ordered from being inside of the protected code sequence to being outside. And what happens inside the protected code sequence is not prone to mutual access anyway.

Please do not odder any analogies but construct a decent example sowing how you think something can go wrong and why.

-Michael

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to