3 ms·
Bob may or may not be concerned with what the state is/was, and more concerned with what state the system needs to converge on. I take your point, although the
by polynomial 8y ago
Bob may or may not be concerned with what the state is/was, and more concerned with what state the system needs to converge on.
I take your point, although the assumption is that Bob wants to set state=baz IFF (if and only if) state==foo. However he may simply need the state to be baz, regardless what the previous state was.
- munk-a 8y agoMany systems (especially caching systems) make a point of differentiating the `set` operation from a `check and set` operation (usually known as `cas`) in systems where both of these operations are available you are quite able to intelligently differentiate those two resolution states.