Introduction - If you have any usage issues, please Google them yourself
On ARM, ordinary assignment (str instruction) doesn t clear the local strex ldrex monitor on some implementations. The reason we can use it for atomic_set() is the clrex or dummy strex done on every exception return.