[Tremor] MB() function call

Michael Smith mlrsmith at gmail.com
Tue Jan 11 15:54:34 PST 2005


On Tue, 11 Jan 2005 13:07:49 -0800 (PST), Lakshmi Kantha Reddy
<lakshmikanth_cdp at yahoo.com> wrote:
> Hi,
> 
> Could you let me know what the purpose of the function
> MB(); is?

It's actually a macro, not a function.

The macro is meant to produce (in a platform-specific way - currently
only implemented for ARM), a memory barrier. I think it's just there
as an optimisation; the code should be correct without it.

Mike


More information about the Tremor mailing list