[Lazarus] thread safe
Michael Schnell
mschnell at lumino.de
Tue Jun 28 11:02:28 CEST 2011
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
More information about the Lazarus
mailing list