[fpc-devel] membar instruction

Dariusz Mazur darekm at emadar.com
Sat Feb 23 19:52:18 CET 2008


Micha Nelissen pisze:
> Dariusz Mazur wrote:
>   
>> Hi
>>  is there in FPC a membar instruction, like #StoreLoad macro or smp_mb();
>>     
>
> ReadBarrier, ReadDependencyBarrier, ReadWriteBarrier, WriteBarrier; in
> system unit.
>   
thx
>   
>> and second need instruction is NOOP
>>     
>
> Don't know about this one, can't you use a do nothing loop?
>   
in spin-lock there is NOOP used, I think that is instruction, that every 
processor do nothing but not avoid (duration is very small but not zero)

Darek



More information about the fpc-devel mailing list