encyclopegia.org

Raymond's algorithm

Raymond's Algorithm is a lock based algorithm for mutual exclusion on a distributed system. It imposes a logical structure (a K-ary tree) on distributed resources. As defined, each node has only a single parent, to which all requests to attain the token are made.

Raymond's Algorithm is a lock based algorithm for mutual exclusion on a distributed system. It imposes a logical structure (a K-ary tree) on distributed resources. As defined, each node has only a single parent, to which all requests to attain the token are made. ===Nodal properties=== Each node has only one parent to whom received requests are forwarded Each node maintains a FIFO queue of requests each time that it sees the token; If any node is forwarding privilege to other node and has non-empty queue then it forwards a request message along ===Algorithm=== If a node i (not holding the token) wishes to receive the token in order to enter into its critical section, it sends a request to its parent, node j. If node j FIFO is empty, node j shifts i into its FIFO queue; j then issues a request to its parent, k, that it desires the token If node j FIFO queue is not empty, it simply shifts i into the queue When node k has token and receives the request from j it sends token to j and sets j as its parent When node j receives the token from k, it forwards the token to i and i is removed from the queue of j If the queue of j is not empty after forwarding the token to i, j must issue a request to i in order to get the token back Note: If j wishes to request a token, and its queue is not empty, then it places itself into its own queue. Node j will utilize the token to enter into its critical section if it is at the head of the queue when the token is received.

References

No reference rows published for this article.

Cite this article

MLA

"Raymond's algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/raymond-s-algorithm. Accessed 25 November 2026.

Chicago

"Raymond's algorithm." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/raymond-s-algorithm.

APA

encyclopegia.org. (2025). Raymond's algorithm. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/raymond-s-algorithm

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Lisa Raymond

stub · references available

Raymond Chan

stub · references available

Raymond Ndong Sima

stub · references available

Raymond F. Boyce

stub · references available

Raymond Poincaré

stub · references available

Everybody Loves Raymond

stub · references available

Raymond Flynn

stub · references available

Raymond Thompson

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1319442958 · 0.5 · snapshot enwiki-001319442958

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.