skip to main content
article
Free Access

Concurrent reading and writing

Published:01 November 1977Publication History
Skip Abstract Section

Abstract

The problem of sharing data among asynchronous processes is considered. It is assumed that only one process at a time can modify the data, but concurrent reading and writing is permitted. Two general theorems are proved, and some algorithms are presented to illustrate their use. These include a solution to the general problem in which a read is repeated if it might have obtained an incorrect result, and two techniques for transmitting messages between processes. These solutions do not assume any synchronizing mechanism other than data which can be written by one process and read by other processes.

References

  1. 1 Brinch Hansen, P. A comparison of two synchronizing concepts. Acta lnformatica 1, 3 (1972), 190-199.Google ScholarGoogle Scholar
  2. 2 Brinch Hansen, P, Concurrent programming concepts. Computing Surveys 5, 4 (Dec. 1973), 223-245. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Courtois, P.J., Heymans, F., and Parnas, D.L. Concurrent control with "readers" and "writers." Comm. ACM 14, 10 (Oct. 1971), 667-668. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Easton, W.B. Process synchronization without long-term interlock. Proc. Third ACM Symp. on Operating System Principles, Operating Syst. Rev. (ACM) 6, 1 and 2 (June 1972), 95-100. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Lamport, L. A new solution of Dijkstra's concurrent programming problem. Comm. ACM 17, 8 (Aug. 1974), 453-455. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6 Lamport, L. Proving the correctness of multiprocess programs. 1EEE Trans. on Software Engineering SE-3 , 2 (Mar. 1977), 125- 143.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 Schaefer, M. Quasi-synchronization of readers and writers in a secure multi-level environment. TM-5407/003, System Development Corp., Santa Monica, Calif., Sept. 1974.Google ScholarGoogle Scholar
  8. 8 White, J.C.C. Design of a secure file management system. MTR-2931, The Mitre Corp., Bedford, Mass., June 1974.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

Full Access

  • Published in

    cover image Communications of the ACM
    Communications of the ACM  Volume 20, Issue 11
    Nov. 1977
    107 pages
    ISSN:0001-0782
    EISSN:1557-7317
    DOI:10.1145/359863
    Issue’s Table of Contents

    Copyright © 1977 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: 1 November 1977

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader