Regular register
A single-writer regular register returns the value of the latest write completed before a read starts or a value written by an overlapping write.
One read can span several writes and return the preceding value or a value from any overlapping write. If no write overlaps, it must return the latest completed write's value. [1]
For a write changing 0 to 1, two nonoverlapping reads within that write can return 1 and then 0, even when different readers perform them. Each read is individually permitted, but no common real-time-respecting order explains both. An atomic register excludes this inversion; new and old refer to write order, not numeric magnitude. [1]
Relations
- related
- Safe register, Linearizability, Atomic register
Citations
Further reading
Sources & caveats
- Scope: finite-valued, single-writer registers with one or more readers; no product lifecycle or priority date is inferred. [1]