Shared register
In distributed computing, shared-memory systems and message-passing systems are two widely studied methods of interprocess communication. In shared-memory systems, processes communicate by accessing shared data structures. A shared (read/write) register, sometimes just called a register, is a fundamental type of shared data structure which stores a value and has two operations: read, which returns the value stored in the register, and write, which updates the value stored. Other types of shared data structures include read–modify–write, test-and-set, compare-and-swap etc. The memory location which is concurrently accessed is sometimes called a register.
In distributed computing, shared-memory systems and message-passing systems are two widely studied methods of interprocess communication. In shared-memory systems, processes communicate by accessing shared data structures. A shared (read/write) register, sometimes just called a register, is a fundamental type of shared data structure which stores a value and has two operations: read, which returns the value stored in the register, and write, which updates the value stored. Other types of shared data structures include read–modify–write, test-and-set, compare-and-swap etc. The memory location which is concurrently accessed is sometimes called a register. {{image frame|align=center|caption=Shared Register Stages of Constructions|width=700 |content= {\operatorname{Message-passing} \atop (MP)\ System} ->[][\text{Stage 1}] SWSR\ atomic ->[][\text{Stage 2}] SWMR ->[][\text{Stage 3}] SW\ snapshot ->[][\text{Stage 4}] MWMR }} An implementation is linearizable if, for every execution there is a linearization ordering that satisfies the following two properties: if operations were done sequentially in order of their linearization, they would return the same result as in the concurrent execution. If operation op1 ends before operation op2 begins, then op1 comes before op2 in linearization.
References
No reference rows published for this article.
Cite this article
MLA
"Shared register." encyclopegia.org, 2026, https://encyclopegia.org/wiki/shared-register. Accessed 24 November 2026.
Chicago
"Shared register." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/shared-register.
APA
encyclopegia.org. (2026). Shared register. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/shared-register
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON