Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

An alternative to event queues for synchronization in monitors

Published: 01 July 1977 Publication History

Abstract

In the monitor concept, as proposed by Brinch Hansen and Hoare, event queues are used for synchronization. This paper describes another synchronizing primitive which is nearly as expressive as the conditional wait, but can be implemented more efficiently. An implementation of this primitive in terms of P and V operations is given together with a correctness proof. Two examples are presented: the readers and writers problem and the problem of information streams sharing a finite buffer pool.

References

[1]
Brinch Hansen, P. A programming methodology for operating system design. Information Processing 74, North-Holland Pub. Co., Amsterdam, 1974, pp. 394-397.]]
[2]
Courtois, P.J., Heymans, F., and Parnas, D.L. Concurrent control with "readers" and "writers." Comm. ACM 14, 10 (Oct. 1971), 667-668.]]
[3]
Dahl, O.J., and Hoare, C.A.R. Hierarchical program structures. In Structured Programming, Academic Press, New York, 1972.]]
[4]
Dijkstra, E.W. Information streams sharing a finite buffer. Information Processing Letters 1, 5 (Oct. 1972), 179-180.]]
[5]
Hoare, C.A.R, Monitors: an operating system structuring concept. Comm. ACM 17, 10 (Oct. 1974), 549-557.]]
[6]
Howard, J.H. Proving monitors. Comm. ACM 19, 5 (May 1976), 273-279.]]
[7]
Sintzoff, M., and van Lamsweerde, A. Constructing correct and efficient concurrent programs. Proc. Int. Conf. on Reliable Software, 1975, pp. 319-326.]]
[8]
Wirth, N. The programming language PASCAL. Acta Informatica 1, 1 (1971), 35-63.]]

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Communications of the ACM
Communications of the ACM  Volume 20, Issue 7
July 1977
75 pages
ISSN:0001-0782
EISSN:1557-7317
DOI:10.1145/359636
Issue’s Table of Contents
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: 01 July 1977
Published in CACM Volume 20, Issue 7

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. conditional critical region
  2. monitor
  3. mutual exclusion
  4. operating system
  5. structuring concept
  6. synchronization

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)41
  • Downloads (Last 6 weeks)8
Reflects downloads up to 10 Sep 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media