3 ms·
Yeah. I would call ll/sc atomic. Wikipedia's current verbiage: > Load-link returns the current value of a memory location, while a subsequent store-condition
by loeg 11d ago
Yeah. I would call ll/sc atomic. Wikipedia's current verbiage:
> Load-link returns the current value of a memory location, while a subsequent store-conditional to the same memory location will store a new value only if no updates have occurred to that location since the load-link. Together, this implements a lock-free, atomic, read–modify–write operation.
https://en.wikipedia.org/wiki/Load-link/store-conditional https://en.wikipedia.org/wiki/Load-link/store-conditional