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

Why we need CLREX in exception handler?

Note: This was originally posted on 15th October 2012 at http://forums.arm.com

Dear Sirs:

We check the state diagram and don't know why we need to perform CLREX in  exception handler;
1. once another thread success did the STOREX before the original thread performed the exception handler. The original thread would execute STOREX fail after finished the exception handler.
2. If there is no thread did the STOREX, the original thread could success execute STOREX and perform the exclusive access.

Why we need CLREX in exception handler? Do I miss anything?

Regards
Liang
0