This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

InterlockedExchangeAdd equivalent

Note: This was originally posted on 11th February 2013 at http://forums.arm.com

I'm porting a Windows application to an ARM® Cortex-A9 based system running Ubuntu 12.04 and I need something equivalent the Windows function InterlockedExchangeAdd().  Is there a function like this available for ARM?  If not, can anyone provide some equivalent assembly code?
Parents
  • Note: This was originally posted on 11th February 2013 at http://forums.arm.com

    Thanks for the quick reply.  The second example you referenced looks like what I need.   Do you know where I can find a v7 assembly reference / programmer's guide so that I can make any necessary modifications from v6?  I'm having a rather difficult time locating what I need in the online documentation.
Reply
  • Note: This was originally posted on 11th February 2013 at http://forums.arm.com

    Thanks for the quick reply.  The second example you referenced looks like what I need.   Do you know where I can find a v7 assembly reference / programmer's guide so that I can make any necessary modifications from v6?  I'm having a rather difficult time locating what I need in the online documentation.
Children
No data