Summary
A method is presented that allows the efficient implementation of conditional critical regions combined with scheduling of the waiting processes. It is based on the knowledge of static and invariant relations that exist among the conditional critical regions of a process system. Mathematical methods are applied in order to show the nature of these relations, and to determine them for practical applications.
By collecting the conditional critical regions in a program module, a monitor is obtained. Its rather abstract user level allows clear and well structured programming style. It also shows some advantages in comparison to other monitor proposals on the implementation level.
Similar content being viewed by others
References
Agerwala, T.: A complete model for representing the coordination of asynchronous processes. John Hopkins University, Baltimore (Md.), Hopkins computer research report 32, 1974
Belpaire, G., Wilmotte, J. P.: A semantic approach to the theory of parallel processes. Proc. International Computing Symposium 1973. Amsterdam: North-Holland 1974, p. 159–164
Courtois, P. J., Heymans, F., Parnas, D. L.: Concurrent control with “readers” and “writers”. Comm. ACM 14, 667–668 (1971)
Dijkstra, E. W.: Cooperating sequential processes. In: Genuys, F. (ed.): Programming Languages. New York: Academic Press 1968
Brinch Hansen, P.: A comparison of two synchronizing concepts. Acta Informatica 1, 190–199 (1972)
Brinch Hansen, P.: Structured multiprogramming. Comm. ACM 15, 574–578 (1972)
Brinch Hansen, P.: Operating system principles. Englewood Cliffs (N. J.): Prentice-Hall 1973
Hoare, C. A. R.: Towards a theory of parallel programming. In: Hoare, C. A. R., Perrot, R. H. (eds.): Operating System Techniques. London: Academic Press 1972, p. 61–71
Hoare, C.A.R.: Monitors: an operating system structuring concept. IFIP-WG 2.3, Munich, 1973
Jürgens, J.: Synchronisation paralleler Prozesse anhand von Zuständen. Dissertation, TU München, 1973
Schmid, H. A.: An approach to the communication and synchronization of processes. Proc. International Computing Symposium 1973. Amsterdam: North-Holland 1974, p. 165–171
Author information
Authors and Affiliations
Additional information
Work done mainly at the Fakultät für Informatik, Universität Karlsruhe, Karlsruhe, and also at the Department of Computer Science, University of Toronto, Toronto.
Rights and permissions
About this article
Cite this article
Schmid, H.A. On the efficient implementation of conditional critical regions and the construction of monitors. Acta Informatica 6, 227–249 (1976). https://doi.org/10.1007/BF00288656
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00288656