• fjfaase 18 hours ago

    This implicitely assumes atomic assignments, meaning that during an assignment all bits representing a value are transfered in one atomic unit. This sounds a bit trivial, but if one would be working with large integers that are stored in multiple memory words, it is less trivial.

    I think it is possible to implement locking with only atomic assigments.