[Lazarus] thread safe

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Jun 27 21:51:32 CEST 2011


Andrew Brunner schrieb:
> On Mon, Jun 27, 2011 at 12:52 PM, Hans-Peter Diettrich
> <DrDiettrich1 at aol.com> wrote:
>> You forget the strength of protection. A MB will disallow immediately any
>> concurrent access to the memory area - no way around. Protection by other
>> means only can work in *perfect* cooperation, a very weak model.
> 
> Absolutely incorrect.

Why?

> entercricitalsection();

Where do you see a memory barriere here?

DoDi





More information about the Lazarus mailing list