English

Safe Register Token Transfer in a Ring

Distributed, Parallel, and Cluster Computing 2011-01-11 v1

Abstract

A token ring is an arrangement of N processors that take turns engaging in an activity which must be controlled. A token confers the right to engage in the controlled activity. Processors communicate with neighbors in the ring to obtain and release a token. The communication mechanism investigated in this paper is the safe register abstraction, which may arbitrarily corrupt a value that a processor reads when the operation reading a register is concurrent with an write operation on that register by a neighboring processor. The main results are simple protocols for quasi-atomic communication, constructed from safe registers. A quasi-atomic register behaves atomically except that a special undefined value may be returned in the case of concurrent read and write operations. Under certain conditions that constrain the number of writes and registers, quasi-atomic protocols are adequate substitutes for atomic protocols. The paper demonstrates how quasi-atomic protocols can be used to implement a self-stabilizing token ring, either by using two safe registers between neighboring processors or by using O(lg N) safe registers between neighbors, which lowers read complexity.

Keywords

Cite

@article{arxiv.1101.1680,
  title  = {Safe Register Token Transfer in a Ring},
  author = {Ted Herman},
  journal= {arXiv preprint arXiv:1101.1680},
  year   = {2011}
}

Comments

22 pages

R2 v1 2026-06-21T17:09:25.637Z