Atomic operations in ARM

后端 未结 2 421
小蘑菇
小蘑菇 2020-12-13 04:43

I\'ve been working on an embedded OS for ARM, However there are a few things i didn\'t understand about the architecture even after referring to ARMARM and linux source.

2条回答
  •  春和景丽
    2020-12-13 05:38

    Okay, got the answer from their website.

    If a context switch schedules out a process after the process has performed a Load-Exclusive but before it performs the Store-Exclusive, the Store-Exclusive returns a false negative result when the process resumes, and memory is not updated. This does not affect program functionality, because the process can retry the operation immediately.

提交回复
热议问题