[fpc-devel] Threading support and C library under Linux/Unix

Henry Vermaak henry.vermaak at gmail.com
Wed Jun 23 18:04:42 CEST 2010


On 23/06/10 16:19, Michael Schnell wrote:
> On 06/23/2010 04:49 PM, Henry Vermaak wrote:
>>
>> No, SWP is atomic, so the implementation looks good (at a glance).
>>
>
> Seemingly not on all ARM sub-archs:
>
>> From some ARM manual:
>
>      The ARM7500FE does not use the lock feature available in the ARM701
> macrocell
>      You must take care to ensure that control of the memory is not
> removed from the ARM
>      processor while it is performing this instruction.

That only means that it doesn't send the lock signal to the external 
memory manager, so you can't have a multi processor implementation using 
this processor.  It doesn't affect the working of the swp instruction.

Henry



More information about the fpc-devel mailing list