skip to main content
10.1145/567532.567547acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article
Free Access

On the advantages of free choice: a symmetric and fully distributed solution to the dining philosophers problem

Published:26 January 1981Publication History

ABSTRACT

It is shown that distributed systems of probabilistic processors are essentially more powerful than distributed systems of deterministic processors, i.e., there are certain useful behaviors that can be realized only by the former. This is demonstrated on the dining philosophers problem. It is shown that, under certain natural hypotheses, there is no way the philosophers can be programmed (in a deterministic fashion) so as to guarantee the absence of deadlock (general starvation). On the other hand, if the philosophers are given some freedom of choice one may program them to guarantee that every hungry philosopher will eat (with probability one) under any circumstances (even an adversary scheduling). The solution proposed here is fully distributed and does not involve any central memory or any process with which every philosopher can communicate.

References

  1. Brinch Hansen, P. Operating Systems Principles. Prentice-Hall 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Brinch Hansen, P. Distributed processes, a concurrent programming concept. CACM 21, 11 (November 1978). Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Dijkstra, E. W. Hierarchical ordering of sequential processes, Operating Systems Techniques, Academic Press 1972.Google ScholarGoogle Scholar
  4. Francez, N. and Rodeh, M. A distributed abstract data type implemented by a probabilistic communication scheme. I.B.M. Israel Scientific Center TR-080, April 1980 (to be presented at 21st Annual Symposium on F.O.C.S., Syracuse Oct. 1980).Google ScholarGoogle Scholar
  5. Hoare, C. A. R. Towards a theory of parallel programming, Operating Systems Techniques, quoted above.Google ScholarGoogle Scholar
  6. Hoare, C. A. R. Communicating sequential processes. CACM 21, 8 (August 1978). Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Holt, R. C., Graham, G. S., Lazowska, E. D., and Scott, M. A. Structured concurrent programming with operating systems applications, Addison-Wesley 1978.Google ScholarGoogle Scholar
  8. Kaubisch, W. H., Perrot, R. H., and Hoare, C. A. R. Quasiparallel programming. Software and Experience, Vol. 6 1976, pp. 341-356.Google ScholarGoogle ScholarCross RefCross Ref
  9. Lamport, L. Private communication, 1978.Google ScholarGoogle Scholar
  10. Rabin, M. O. Theoretical impediments to artificial intelligence, Information Processing 74 (Jack L. Rosenfeld ed.), pp. 615-619.Google ScholarGoogle Scholar
  11. Rabin, M. O. N-process synchronization by 4.logN-valued shared variable, Technical Report Forschungsinstitut fuer mathematik, ETH Zuerich, March 1980, 21st Annual F.O.C.S. Symposium (1980).Google ScholarGoogle Scholar
  12. Rabin, M. O. The choice coordination problem Memorandum No. UCB/ERL M80/38, Univ. of Calif. Berkeley, August 1980.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    POPL '81: Proceedings of the 8th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
    January 1981
    230 pages
    ISBN:089791029X
    DOI:10.1145/567532

    Copyright © 1981 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 26 January 1981

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • Article

    Acceptance Rates

    POPL '81 Paper Acceptance Rate24of121submissions,20%Overall Acceptance Rate824of4,130submissions,20%

    Upcoming Conference

    POPL '25

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader